Re: How to change to the smoother single-stage animation
Re: How to change to the smoother single-stage animation
- Subject: Re: How to change to the smoother single-stage animation
- From: "Hank Heijink (Mailinglists)" <email@hidden>
- Date: Thu, 6 Aug 2009 13:58:56 -0400
This is new in iPhone OS 3.0. From the documentation for
UIViewController:
- (void)willAnimateFirstHalfOfRotationToInterfaceOrientation:
(UIInterfaceOrientation) toInterfaceOrientationduration:
(NSTimeInterval)duration
[...]
The default implementation of this method does nothing. If you
override this method (or
thewillAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:
method), the view controller always performs rotation animations in
two steps. To configure animations using the one-step technique,
override thewillAnimateRotationToInterfaceOrientation:duration: method
instead.
You have to remove your override for the above method as well as the
one for the corresponding method for the second half of the rotation.
Best,
Hank
On Aug 6, 2009, at 1:27 PM, Agha Khan wrote:
Hi:
I am getting this message.
Using two-stage rotation animation. To use the smoother single-stage
animation, this application must remove two-stage method
implementations.
Any idea how to change to smoother single-stage animation?
Agha
_______________________________________________
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:
@runbox.com
This email sent to email@hidden
_______________________________________________
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