• 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: Sat, 8 Aug 2009 22:17:39 -0400

I have removed both function but now my device doesn't know if it is in horizontal or vertical position. I need that information to arrange some controls according to its Orientation.

The first parameter of the willAnimateRotationToInterfaceOrientation:duration: method should tell you that. I would think you would have caught that, so maybe I'm misunderstanding your question... let me know.


Hank

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.

_______________________________________________

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


References: 
 >How to change to the smoother single-stage animation (From: Agha Khan <email@hidden>)
 >Re: How to change to the smoother single-stage animation (From: "Hank Heijink (Mailinglists)" <email@hidden>)
 >Re: How to change to the smoother single-stage animation (From: Agha Khan <email@hidden>)

  • Prev by Date: System Sound, and Audio Services [solved more] (was: NSSound play often fails)
  • Next by Date: [iPhone 3.0] correct way to release a UIImageView flip animation?
  • Previous by thread: Re: How to change to the smoother single-stage animation
  • Next by thread: Mixing Objective-C and C++ classes; How?
  • Index(es):
    • Date
    • Thread