• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Computing the height for a UITableViewHeaderFooterView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Checking if NSURL exists
  • Next by Date: Re: Computing the height for a UITableViewHeaderFooterView
  • Previous by thread: Re: Any way to delay drawing after scrolling?
  • Next by thread: Re: Computing the height for a UITableViewHeaderFooterView
  • Index(es):
    • Date
    • Thread