forkingdog / forkingdog/UITableView-FDTemplateLayoutCell

在iOS 11控制台输出这样的log,确实高度计算也有问题

Open
#348 33 comments 1 reaction 0 assignees View on GitHub
Dominant language
Objective-C
Stars
9.9k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

> Changing the translatesAutoresizingMaskIntoConstraints property of the contentView of a UITableViewCell is not supported and will result in undefined behavior, as this property is managed by the owning UITableViewCell

当注释掉
`// templateCell.contentView.translatesAutoresizingMaskIntoConstraints = NO;`
计算高度正常不知道为什么,附上两种情况的截图
![screen shot 2017-09-22 at 9 18 29](https://user-images.githubusercontent.com/8891002/30725424-5972f222-9f0a-11e7-9f71-97ef9aab5ee6.png)
![screen shot 2017-09-22 at 9 19 19](https://user-images.githubusercontent.com/8891002/30725429-5f23a0cc-9f0a-11e7-9bb8-156b828535ce.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.