UIViewControllerRotation extension

UIViewControllerRotation

on

Properties

interfaceOrientation UIInterfaceOrientation

Available on UIViewController, provided by the UIViewControllerRotation extension

interfaceOrientation
no setter
preferredInterfaceOrientationForPresentation UIInterfaceOrientation

Available on UIViewController, provided by the UIViewControllerRotation extension

preferredInterfaceOrientationForPresentation
no setter
shouldAutorotate bool

Available on UIViewController, provided by the UIViewControllerRotation extension

shouldAutorotate
no setter
supportedInterfaceOrientations int

Available on UIViewController, provided by the UIViewControllerRotation extension

supportedInterfaceOrientations
no setter

Methods

didAnimateFirstHalfOfRotationToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation) → void

Available on UIViewController, provided by the UIViewControllerRotation extension

didAnimateFirstHalfOfRotationToInterfaceOrientation:
didRotateFromInterfaceOrientation(UIInterfaceOrientation fromInterfaceOrientation) → void

Available on UIViewController, provided by the UIViewControllerRotation extension

didRotateFromInterfaceOrientation:
rotatingFooterView() UIView?

Available on UIViewController, provided by the UIViewControllerRotation extension

rotatingFooterView
rotatingHeaderView() UIView?

Available on UIViewController, provided by the UIViewControllerRotation extension

rotatingHeaderView
shouldAutorotateToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation) bool

Available on UIViewController, provided by the UIViewControllerRotation extension

shouldAutorotateToInterfaceOrientation:
willAnimateFirstHalfOfRotationToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation, {required double duration}) → void

Available on UIViewController, provided by the UIViewControllerRotation extension

willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:
willAnimateRotationToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation, {required double duration}) → void

Available on UIViewController, provided by the UIViewControllerRotation extension

willAnimateRotationToInterfaceOrientation:duration:
willAnimateSecondHalfOfRotationFromInterfaceOrientation(UIInterfaceOrientation fromInterfaceOrientation, {required double duration}) → void

Available on UIViewController, provided by the UIViewControllerRotation extension

willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:
willRotateToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation, {required double duration}) → void

Available on UIViewController, provided by the UIViewControllerRotation extension

willRotateToInterfaceOrientation:duration:

Static Methods

attemptRotationToDeviceOrientation() → void

Available on UIViewController, provided by the UIViewControllerRotation extension

attemptRotationToDeviceOrientation