Rightpoint / RZCellSizeManager

Dynamic size computation and caching for cells.
MIT License
242 stars 32 forks source link

Calculated height = 0 when using autoLayout #25

Closed cerupcat closed 10 years ago

cerupcat commented 10 years ago

For some reason, my autoLayout cell is calculating the height as 0.

For example, in the demo project, if I remove all the constraints from the RZTableViewCell and then "Add missing constraints" back in. Then it'll calculate as 0.

Are there certain constraints that need to be set to properly calculate the height?

cerupcat commented 10 years ago

It looks like adding a bottom constraint to the lowest object was the missing constraint.