shouldAutomaticallyForwardRotationMethods()
Returns a Boolean value indicating whether rotation methods are forwarded to child view controllers.
Declaration
func shouldAutomaticallyForwardRotationMethods() -> BoolReturn Value
true if rotation methods are forwarded or false if they are not.
Discussion
This method is called to determine whether to automatically forward rotation-related containment callbacks to child view controllers.
The default implementation returns true. Subclasses of the UIViewController class that implement containment logic may override this method to control how these methods are forwarded. If you override this method and return false, you are responsible for forwarding the following methods to child view controllers at the appropriate times:
See Also
Deprecated methods
setOverrideTraitCollection(_:forChild:)overrideTraitCollection(forChild:)attemptRotationToDeviceOrientation()registerForPreviewing(with:sourceView:)unregisterForPreviewing(withContext:)canPerformUnwindSegueAction(_:from:withSender:)didRotate(from:)dismissMoviePlayerViewControllerAnimated()forUnwindSegueAction(_:from:withSender:)presentMoviePlayerViewControllerAnimated(_:)rotatingFooterView()rotatingHeaderView()segueForUnwinding(to:from:identifier:)willAnimateRotation(to:duration:)willRotate(to:duration:)