Enumeration

UIImagePickerController.CameraCaptureMode

The category of media for the camera to capture.

Declaration

enum CameraCaptureMode : Int

Overview

The constants in this enumeration are for use as values of the cameraCaptureMode property.

Topics

Constants

case photo

Specifies that the camera captures still images.

case video

Specifies that the camera captures movies.

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.