Contents

isInterfaceOrientationLocked

If the scene’s interface orientation is locked and preventing changes. To express a preference for this value, override UIViewController’s prefersInterfaceOrientationLocked.

Declaration

var isInterfaceOrientationLocked: Bool { get }

See Also

Accessing scene geometry