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 (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