【发布时间】:2017-05-18 12:06:24
【问题描述】:
我有 UITableview,它使用 AutoLayout 具有动态行高。
在 iOS 8.4 中,如果设置 scrollToRowAtIndexPath 或 setContentOffset 它不会滚动到最后一个索引路径。在 iOS 9.x 中它正在工作。请帮忙
[tableview scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:arr.count - 1 inSection:RootArr.count - 1] atScrollPosition:UITableViewScrollPositionBottom animated:NO];
【问题讨论】:
-
请分享您的代码?
标签: ios objective-c uitableview ipad