在iOS 11上,我发现
“带有RowAnimation:UITableViewRowAnimationNone的reloadRowsAtIndexPaths:@ [indexPath]”
有时称为“tableView:tableView heightForRowAtIndexPath:indexPath”
之后的“tableView:tableView cellForRowAtIndexPath:indexPath”
对于我传入的特定“indexPath”。
特定“indexPath”的单元格会将其高度从某些高度更改为右高度。
有人遇到过这个问题吗?
最佳答案
好吧...我发现在iOS 11上,如果您正在为单元格使用帧布局,则需要显式设置EstimatedRowHeight为0
关于ios - reloadRowsAtIndexPaths:@ [indexPath] withRowAnimation:UITableViewRowAnimationNone在iOS 11上工作不正确吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46174221/