开发者

UITableView load height

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜