---
title: UIImagePickerController.SourceType.camera
framework: uikit
role: symbol
role_heading: Case
path: uikit/uiimagepickercontroller/sourcetype-swift.enum/camera
---

# UIImagePickerController.SourceType.camera

Specifies the device’s built-in camera as the source for the image picker controller.

## Declaration

```swift
case camera
```

## Discussion

Discussion Indicate the specific camera you want (front or rear, as available) by using the cameraDevice property.

## See Also

### Constants

- [UIImagePickerController.SourceType.photoLibrary](uikit/uiimagepickercontroller/sourcetype-swift.enum/photolibrary.md)
- [UIImagePickerController.SourceType.savedPhotosAlbum](uikit/uiimagepickercontroller/sourcetype-swift.enum/savedphotosalbum.md)
