Hello,

I have a custom view that have a square subview. The superview is stretched in 
both directions when the device is rotated.

The subview has autoresizingMask=UIViewAutoresizingFlexibleHeight | 
UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleTopMargin | 
UIViewAutoresizingFlexibleBottomMargin | UIViewAutoresizingFlexibleLeftMargin | 
UIViewAutoresizingFlexibleRightMargin;

If I just rotate the device, everything is OK. But the subview can be rotated 
via CGAffineTransform. So, if I rotate the subview and after that I rotate the 
device, the subview get distorted.

What I'm supposed to do so the subview just get the correct rotation AND the 
correct proportion to the subview?

Thank you

Tales Pinheiro de Andrade
_______________________________________________

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

This email sent to [email protected]

Reply via email to