tags:

views:

114

answers:

1

anyone can tell differences among willRotateToInterfaceOrientation, willAnimateRotationToInterfaceOrientation, didRotateFromInterfaceOrientation,

+1  A: 

From the UIViewController Class Reference:

willRotateToInterfaceOrientation:duration:

Sent to the view controller just before the user interface begins rotating.


willAnimateRotationToInterfaceOrientation:duration:

Sent to the view controller before performing a one-step user interface rotation.


didRotateFromInterfaceOrientation:

Sent to the view controller after the user interface rotates.

Shaggy Frog
what one step Interface Rotation.....?pls
Mikhail Naimy
Previously, the app would get a notification in the middle of the rotation, splitting the rotation into two phases, but now you can code it for just one phase.
lucius