Dear Hank:
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.

Thanks.

Agha

On Aug 6, 2009, at 10:58 AM, Hank Heijink (Mailinglists) wrote:

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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/hank.list%40runbox.com

This email sent to hank.l...@runbox.com



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to