<!--
{
  "availability" : [
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBackgroundExtensionView/contentView",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBackgroundExtensionView(py)contentView"
  },
  "title" : "contentView"
}
-->

# contentView

The content view to extend to fill the `NSBackgroundExtensionView`.

```
var contentView: NSView? { get set }
```

## Discussion

The content view will be added as a subview of the extension view and
placed within the safe area by default. See `automaticallyPlacesContentView`
to customize the layout.

---

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)