Cartography
Cartography copied to clipboard
Cell dynamic height
I use Cartography to layout my cell, But how can I get cell height in TableViewController? Thank you!
@caohrong If you need to get the height of one specific cell, than you might need to create that cell and query it's height, given the current constraints.
If you are not sure how to implement the delegate method tableView:heightForRowAtIndexPath:
then you should read the docs, specially the docs for tableView:estimatedHeightForRowAtIndexPath:
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITableViewDelegate_Protocol/