<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIImagePickerController/SourceType-swift.enum/camera",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIImagePickerControllerSourceType@UIImagePickerControllerSourceTypeCamera"
  },
  "title" : "UIImagePickerController.SourceType.camera"
}
-->

# UIImagePickerController.SourceType.camera

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

```
case camera
```

## Discussion

Indicate the specific camera you want (front or rear, as available) by using the [`cameraDevice`](/documentation/UIKit/UIImagePickerController/cameraDevice-swift.property) property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)