开发者

UITableView load height

开发者 https://www.devze.com 2022-12-27 07:35 出处:网络
Is there a way to开发者_开发百科 load a table view that opens at the second or third section (rather than at the top)?If you know the IndexPath to the Section, you can use the following UITableView Me

Is there a way to开发者_开发百科 load a table view that opens at the second or third section (rather than at the top)?


If you know the IndexPath to the Section, you can use the following UITableView Method:

scrollToRowAtIndexPath:atScrollPosition:animated:

Have a look at the documentation: http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UITableView_Class/Reference/Reference.html#//apple_ref/occ/instm/UITableView/scrollToRowAtIndexPath:atScrollPosition:animated:

0

精彩评论

暂无评论...
验证码 换一张
取 消