didAnimateFirstHalfOfRotationToInterfaceOrientation:
Sent to the view controller after the completion of the first half of the user interface rotation.
Declaration
- (void) didAnimateFirstHalfOfRotationToInterfaceOrientation:(UIInterfaceOrientation) toInterfaceOrientation;Parameters
- toInterfaceOrientation:
The state of the app’s user interface orientation after the rotation. The possible values are described in the Uiinterfaceorientation enum.
Discussion
This method is called during two-step rotation animations only. Subclasses can override this method and use it to adjust their views between the first and second half of the animations. This method is called outside of any animation transactions and while any header or footer views are offscreen.
See Also
Deprecated methods
setOverrideTraitCollection(_:forChild:)overrideTraitCollection(forChild:)attemptRotationToDeviceOrientation()registerForPreviewing(with:sourceView:)unregisterForPreviewing(withContext:)automaticallyForwardAppearanceAndRotationMethodsToChildViewControllerscanPerformUnwindSegueAction(_:from:withSender:)didRotate(from:)dismissModalViewControllerAnimated:dismissMoviePlayerViewControllerAnimated()forUnwindSegueAction(_:from:withSender:)presentModalViewController:animated:presentMoviePlayerViewControllerAnimated(_:)rotatingFooterView()rotatingHeaderView()