N Nnavick macrumors regular Original poster 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 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 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