Re: Moving a UIView when has a CAAffineTransformationRotate
Re: Moving a UIView when has a CAAffineTransformationRotate
- Subject: Re: Moving a UIView when has a CAAffineTransformationRotate
- From: David Duncan <email@hidden>
- Date: Tue, 30 Nov 2010 10:11:35 -0800
On Nov 30, 2010, at 9:49 AM, Gustavo Pizano wrote:
> Any help or tip may be appreciate, my linear algebra is not that good ... :SS I wanna cry...
Move the center instead of the frame. The frame is derived from the center, bounds.size and transform, so once you've placed a transform on the view the frame is a much less reliable means of making adjustments to the view.
--
David Duncan
_______________________________________________
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