zen

Results 4 comments of zen

同样遇到一样的问题 ``` scrollView.contentOffset = CGPointMake(scrollView.contentOffset.x, round(requireOffset.y)); ``` 会递归调用 仔细调试下,发现是设置contentOffset未生效导致的 我设置tableview的estimatedRowHeight、estimatedSectionHeaderHeight、estimatedSectionFooterHeight后,出现的概率就少点了 另外,还进行了如下的修改 ```objective-c if (round(contentOffsetY) != round(requireOffset.y)) { dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ scrollView.contentOffset = CGPointMake(scrollView.contentOffset.x, round(requireOffset.y)); }); } ```

同样遇到此问题

在模拟器上一运行就蹦了.... ![2015-08-14 10 47 59](https://cloud.githubusercontent.com/assets/10114524/9266329/f6fc757e-4271-11e5-9e8a-86141b05469b.png)