Enumeration Case

UIImagePickerController.SourceType.camera

Specifies the device’s built-in camera as the source for the image picker controller. Indicate the specific camera you want (front or rear, as available) by using the cameraDevice property.

Declaration

case camera = 1