Re: How to (slowly) rotate a view
Re: How to (slowly) rotate a view
- Subject: Re: How to (slowly) rotate a view
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 06 Aug 2012 02:08:24 +0700
On 6 Aug 2012, at 01:48, Richard Altenburg (Brainchild) wrote:
> [UIView animateWithDuration:durationSeconds
> animations:^
> {
> [view setTransform:CGAffineTransformRotate([view transform], angleRadians)];
> }
> ];
>
Thanks! (or: Dank U well)
This is much better than the using CABasicAnimation animationWithKeyPath: on the layer.
Gerriet.
_______________________________________________
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