forkingdog / UITableView-FDTemplateLayoutCell

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

高度计算不正确 #308

Closed py3613778 closed 7 years ago

py3613778 commented 7 years ago

现在用刚下载下来的demo,用iOS10.3 xcode8.3.1的 iPhone5、iphone5S模拟器运行,高度都不正确

weekwood commented 7 years ago

@py3613778 would you mind send me logs and show me your xcode interface?

caizetong commented 7 years ago

用来计算高度的cell的frame似乎有问题,目前我把contentViewWidth赋值给cell的width计算的高度就对了。

py3613778 commented 7 years ago

用frame布局就好了,用xib布局会出现这个问题,应该是xibd的canvas device view固定了