Contents

availableCaptureModes(for:)

Retrieves the capture modes supported by the specified camera device.

Declaration

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

Parameters

Return Value

An array of NSNumber objects indicating the capture modes supported by cameraDevice.

Discussion

See UIImagePickerController.CameraCaptureMode for possible values.

See Also

Configuring the camera capture mode