• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to change to the smoother single-stage animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to change to the smoother single-stage animation
      • From: Agha Khan <email@hidden>
References: 
 >How to change to the smoother single-stage animation (From: Agha Khan <email@hidden>)

  • Prev by Date: Re: Core Data completely unable to find the source object model for migration
  • Next by Date: Re: Two right buttons on UINavigationBar?
  • Previous by thread: How to change to the smoother single-stage animation
  • Next by thread: Re: How to change to the smoother single-stage animation
  • Index(es):
    • Date
    • Thread