Computing the height for a UITableViewHeaderFooterView
Computing the height for a UITableViewHeaderFooterView
- Subject: Computing the height for a UITableViewHeaderFooterView
- From: Rick Mann <email@hidden>
- Date: Mon, 05 Aug 2013 18:25:06 -0700
Is there any way around manually providing the height for a table header view? If I simply provide a title string for the header, UITableView is able to compute the height itself. But if I use a UITableViewHeaderFooterView and set the textLabel and detailTextLabel, I also have to set the height (as far as I can tell).
But the text I'm rendering is dynamic, and could change the number of lines used. Not sure how best to handle this.
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden