<!--
{
  "availability" : [
    "iOS: 3.1.0 -",
    "iPadOS: 3.1.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIImagePickerController/cameraOverlayView",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIImagePickerController(py)cameraOverlayView"
  },
  "title" : "cameraOverlayView"
}
-->

# cameraOverlayView

The view to display on top of the default image picker interface.

```
var cameraOverlayView: UIView? { get set }
```

## Discussion

You can use an overlay view to present a custom view hierarchy on top of the default image picker interface. The image picker layers your custom overlay view on top of the other image picker views and positions it relative to the screen coordinates. If you have the default camera controls set to be visible, incorporate transparency into your view, or position it to avoid obscuring the underlying content.

You can access this property only when the source type of the image picker is set to [`UIImagePickerController.SourceType.camera`](/documentation/UIKit/UIImagePickerController/SourceType-swift.enum/camera). Attempting to access this property for other source types results in throwing an <doc://com.apple.documentation/documentation/Foundation/NSExceptionName/invalidArgumentException> exception.

---

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)