Re: Adding subviews to UITableViewCell's contentView and autoresizing behavior
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