contentSize is the correct way to do this. It gives a ‘buffer zone’ at the top and bottom (and sides if you wish) on the scroll view.
On May 1, 2010, at 11:04 PM, Luke the Hiesterman wrote: > UITableView is a subclass of UIScrollView. So, you can ask for its > contentSize and then call scrollRectToVisible:animated: with a rect that lies > at the end of the contentSize. > > Luke > > On May 1, 2010, at 7:52 PM, Tharindu Madushanka wrote: > >> Hi, >> >> How can I scroll to a UITableView footer all the time, while adding cells to >> table view content. >> >> Is there some way similar to scrollToRowAtIndexPath: , to scroll directly >> into my bottom footer view after adding new cells ? >> >> Thank you and Kind Regards, >> >> Tharindu Madushanak >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/cocoa-dev/luketheh%40apple.com >> >> This email sent to luket...@apple.com > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/scott%40cocoadoc.com > > This email sent to sc...@cocoadoc.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com