MBScanningMode

enum MBScanningMode {}

Enum of different scanning modes: Landscape, Portrait and Auto(both)

  • Detects document in both directions

    Declaration

    Objective-C

    MBScanningModeAuto

    Swift

    case auto = 0
  • Detects document in landscape direction

    Declaration

    Objective-C

    MBScanningModeLandscape

    Swift

    case landscape = 1
  • Detects document in portrait direction

    Declaration

    Objective-C

    MBScanningModePortrait

    Swift

    case portrait = 2