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