On Jun 5, 2011, at 11:51 PM, Development wrote:

> According to the docs if I want to automatically resize all the subviews of a 
> view I need to set the View up with
> 
>        [self setAutoresizesSubviews:YES];
>        self.contentMode =UIViewContentModeScaleToFill;
> 
> No?


The contentMode is irrelevant (it has to do with how the view's graphical 
content – what you draw in -drawRect: – fits in the view, not its subviews).

You may want to just spend a bit of time in Interface Builder prototyping this, 
as it can sometimes be difficult to predict what you get from setting the 
autoresizing masks in a particular way.
--
David Duncan

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to