forkingdog / UITableView-FDTemplateLayoutCell

Template auto layout cell for automatically UITableViewCell height calculating
MIT License
9.93k stars 2.01k forks source link

cell 高度计算不准确 iPhone6 iOS10.3 模拟器 #340

Open AcerFeng opened 6 years ago

AcerFeng commented 6 years ago

图片1

图片2

布局代码

如图,UILabel 超过一行并没有被撑开。

其他:

在真机测试多行 cell 中发现使用 FDTemplateLayoutCell 的帧数还没有使用系统 UITableViewAutomaticDimension 的帧数高,滚动也没有使用 UITableViewAutomaticDimension 的流畅。

jingchangfa commented 6 years ago

UITableViewAutomaticDimension 之后没有约束冲突, FDTemplateLayoutCell 老出现height 44的冲突~囧。。 想实现 cell里一个textview 高度自适应文本,没想到坑这么多~

Kingzhijie commented 6 years ago

这个问题解决 了吗

AcerFeng commented 6 years ago

@Kingzhijie 我最后使用系统的了,没用这个库