AVCaptureVideoOrientation

extension AVCaptureVideoOrientation
  • Extens AVFoundation’s AVCaptureVideoOrientation to add a property to check if the orientation is portrait.

    Declaration

    Swift

    var isPortrait: Bool { get }