开发者

Scroll to Section/Row after [super viewDidLoad]

开发者 https://www.devze.com 2023-03-04 05:07 出处:网络
I need to scroll to a position of a UITableView after the viewDidLoad...for example scroll to section 2row 4.

I need to scroll to a position of a UITableView after the viewDidLoad...for example scroll to section 2 row 4.

How I can do that开发者_如何转开发?

Thanks


Have you tried UITableView's -(void)scrollToRowAtIndexPath:(NSIndexPath *)indexPath atScrollPosition:(UITableViewScrollPosition)scrollPosition animated:(BOOL)animated

0

精彩评论

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