Make sure your subviews are small enough to fit inside your view initially. I've had issues with resizing clipped subviews.
-Heath On Jun 6, 2011 1:52 AM, "Development" <developm...@fornextsoft.com> wrote: > I thought I understood how auto resizing worked but I don't > > > 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? > > I tried this but when I resize the view it's subview remains centered and the same size. > > Inside of all the subviews I have done the following: > [self setAutoresizingMask:UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight]; > > Is there a step I'm missing? > > The problem is that the main view's subview rotates. And the whole thing obviously can be resized. > If I manually resize the rotated subview I'm doing it wrong because it looses it's shape completely > I was hoping I could use autoresizing to solve this issue but I can't get it to work._______________________________________________ > > 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/heath.borders%40gmail.com > > This email sent to heath.bord...@gmail.com _______________________________________________ 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