Position

enum Position : Int
  • Checks if a camera device is available for a position.

    Declaration

    Swift

    public var isCameraDevicePositionAvailable: Bool { get }

    Parameters

    devicePosition

    Camera device position to query.

    Return Value

    true if the camera device exists, otherwise false.

  • UIKit device equivalent type

    Declaration

    Swift

    public var uikitType: UIImagePickerController.CameraDevice { get }