N Nnavick macrumors regular Original poster Oct 13, 2010 100 0 Feb 2, 2011 #1 Hi How do i Scroll down automatically the table view when I pressed a button? I know that there is "ScrollToTop" but there is no to bottom. Thanks
Hi How do i Scroll down automatically the table view when I pressed a button? I know that there is "ScrollToTop" but there is no to bottom. Thanks
H hayesk macrumors 65816 May 20, 2003 1,460 101 Feb 2, 2011 #2 A tableview is a subclass of uiscrollview so you should be able to use scrolltorect: Get the content size of the tableview, then make a rect at the bottom and scroll to that.
A tableview is a subclass of uiscrollview so you should be able to use scrolltorect: Get the content size of the tableview, then make a rect at the bottom and scroll to that.
C cnstoll macrumors 6502 Aug 29, 2010 254 0 Feb 2, 2011 #3 There are table UITableView methods for scrolling a specific row to the top, middle, or bottom of the visible area on screen (for purposes such as supporting the "next" button on the built in keyboard, or whatever else you think of). scrollToRowAtIndexPath http://developer.apple.com/library/...ce/UITableView_Class/Reference/Reference.html
There are table UITableView methods for scrolling a specific row to the top, middle, or bottom of the visible area on screen (for purposes such as supporting the "next" button on the built in keyboard, or whatever else you think of). scrollToRowAtIndexPath http://developer.apple.com/library/...ce/UITableView_Class/Reference/Reference.html