Enumeration

UIImagePickerController.CameraDevice

The camera to use for image or movie capture.

Declaration

enum CameraDevice : Int

Overview

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

Topics

Constants

case rear

Specifies the camera on the rear of the device.

case front

Specifies the camera on the front of the device.

See Also

Configuring the Camera to Use

class func isCameraDeviceAvailable(UIImagePickerController.CameraDevice) -> Bool

Returns a Boolean value that indicates whether a given camera is available.

var cameraDevice: UIImagePickerController.CameraDevice

The camera used by the image picker controller.