On Mar 19, 2012, at 4:43 PM, Sebastian Celis wrote: > viewDidLayoutSubviews (iOS-5-only). > * When you layout your subviews, do so given the current size of your > superview. Don't hardcode your view's width to be 320 just because you > are doing iPhone development and you know your subview takes up the > entire width of your screen. If you know that your view should be the > entire width of the superview, set the width to be the current width > of the superview.
AHA! That's what I was looking for. > * Always set appropriate autoresizing masks. Noted. Thank you very much. I'm moving many things into my own drawing classes, so this will allow me to set this once and it will always be used when my routines are called. - Alex Zavatone _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
