UITableView的一个小坑

来源:互联网 发布:mac 安全模式如何进入 编辑:程序博客网 时间:2024/05/17 22:32
- (void)scrollToRowAtIndexPath:(NSIndexPath *)indexPath atScrollPosition:(UITableViewScrollPosition)scrollPosition animated:(BOOL)animated;

这个函数,调用的是,UIScrollView的

- (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated;

这个方法

0 0
原创粉丝点击