Sent to the view controller before the second half of the user interface rotates.
- iOS 2.0–5.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The state of the app's user interface orientation before the rotation. The possible values are described in the
The duration of the second half of the pending rotation, measured in seconds.
The default implementation of this method does nothing.
This method is called from inside the animation block used to finish the view rotation and slide the header and footer views back into position. You can override this method and use it to configure additional animations that should occur during the second 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 invoked, the
interface property is set to the new orientation.