AppOrientationDelegate

public protocol AppOrientationDelegate : AnyObject

Describes an interface to control app orientation

  • Lock app orientation

    Declaration

    Swift

    func lockOrientation(_ orientation: UIInterfaceOrientationMask)

    Parameters

    orientation

    interface orientation mask to lock orientations to

  • Unlock orientation

    Declaration

    Swift

    func unlockOrientation()