Sent to the view controller before performing the first half of a user interface rotation.
- iOS 2.0–5.0Deprecated
The state of the app's user interface orientation before the rotation. The possible values are described in
The duration of the first half of the pending rotation, measured in seconds.
The default implementation of this method does nothing.
This method is called from within the animation block used to rotate the view and slide the header and footer views out. You can override this method and use it to configure additional animations that should occur during the first half of the view rotation. For example, you could use it to adjust the zoom level of your content, change the scroller position, or modify other animatable properties of your view.
At the time this method is called, the
interface property is still set to the old orientation.