Instance Property

cameraCaptureMode

The capture mode used by the camera.

Declaration

var cameraCaptureMode: UIImagePickerController.CameraCaptureMode { get set }

Discussion

The various capture modes are listed in the UIImagePickerController.CameraCaptureMode enumeration. The default value is UIImagePickerController.CameraCaptureMode.photo.

See Also

Configuring the Camera Capture Mode

class func availableCaptureModes(for: UIImagePickerController.CameraDevice) -> [NSNumber]?

Returns an array of NSNumber objects indicating the capture modes supported by a given camera device.

enum UIImagePickerController.CameraCaptureMode

The category of media for the camera to capture.