• 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
How to make popover size to match content?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to make popover size to match content?


  • Subject: How to make popover size to match content?
  • From: Rick Mann <email@hidden>
  • Date: Tue, 09 Jul 2013 16:00:10 -0700

I'm not quite sure how to make my popover (iPad) grow vertically to the size of the content of the first view controller (a UITableViewController inside a UINavigationController). I don't think I want it to resize whenever the content changes, it should just size to fit (up to some maximum) when it first appears.

I'm using autolayout. It may not be easy, given that the overall height really can't be determined until all the table view cells are rendered.

Just wanted to see what others might've done in this situation.

--
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: Cocoaheads Lake Forest meets this Wednesday, 7/10, at 7pm
  • Next by Date: Re: Leak when "drawing too fast"
  • Previous by thread: Cocoaheads Lake Forest meets this Wednesday, 7/10, at 7pm
  • Next by thread: Unrecognized selector in release build, not in debug build
  • Index(es):
    • Date
    • Thread