Type Method

availableCaptureModesForCameraDevice:

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

Declaration

+ (NSArray<NSNumber *> *)availableCaptureModesForCameraDevice:(UIImagePickerControllerCameraDevice)cameraDevice;

Parameters

cameraDevice

A UIImagePickerControllerCameraDevice constant indicating the camera you want to interrogate.

Return Value

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

Discussion

See Also

Configuring the Camera Capture Mode

cameraCaptureMode

The capture mode used by the camera.

UIImagePickerControllerCameraCaptureMode

The category of media for the camera to capture.