• 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
Re: Adding subviews to UITableViewCell's contentView and autoresizing behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding subviews to UITableViewCell's contentView and autoresizing behavior


  • Subject: Re: Adding subviews to UITableViewCell's contentView and autoresizing behavior
  • From: Ray <email@hidden>
  • Date: Fri, 04 Mar 2011 14:53:30 +0900

Right, I kind of anticipated you were going to say that ;) I will probably do a little subclassing then...

Thanks again, Luke!

On Mar 4, 2011, at 2:29 PM, Luke Hiesterman wrote:

> The strategy I recommend for anyone adding views to UITableViewCell is to subclass and implement layoutSubviews. You will then be able to easily set your subview frames as you desire for any orientation because layoutSubviews will be called on rotation.
>
> Luke

_______________________________________________

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

References: 
 >Re: Adding subviews to UITableViewCell's contentView and autoresizing behavior (From: Ray <email@hidden>)
 >Re: Adding subviews to UITableViewCell's contentView and autoresizing behavior (From: Luke Hiesterman <email@hidden>)

  • Prev by Date: Re: Adding subviews to UITableViewCell's contentView and autoresizing behavior
  • Next by Date: Re: table view and custom cell optimization problem
  • Previous by thread: Re: Adding subviews to UITableViewCell's contentView and autoresizing behavior
  • Next by thread: NSXMLElement children doesn't return whitespace text nodes
  • Index(es):
    • Date
    • Thread