I have implemented TableView with CustomCell in my app,
I want dynamic height of my UITableViewCell according to text length in UITableViewCell
UITableViewCell
If you want to constrain the maximum height to 100 pt you have to use MIN instead on MAX:
MIN
MAX
CGFloat height = fmin(size.height, 100.0);