<!--
{
  "availability" : [
    "tvOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIImageView/overlayContentView",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIImageView(py)overlayContentView"
  },
  "title" : "overlayContentView"
}
-->

# overlayContentView

A view for hosting layered content on top of the image view.

```
var overlayContentView: UIView { get }
```

## Discussion

Use this view to host content that you want layered on top of the image view. This view is managed by the image view itself and is automatically sized to fill the image view’s frame rectangle. Add your subviews and use layout constraints to position them within the view. When the [`adjustsImageWhenAncestorFocused`](/documentation/UIKit/UIImageView/adjustsImageWhenAncestorFocused) property is <doc://com.apple.documentation/documentation/Swift/true>, the overlay view receives the same floating effects as the image view when it’s focused.

The view in this property clips its subviews to its bounds rectangle by default, but you can change that behavior using the [`clipsToBounds`](/documentation/UIKit/UIView/clipsToBounds) 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)