---
title: contentView
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibackgroundextensionview/contentview
---

# contentView

The content view to extend to fill the UIBackgroundExtensionView.

## Declaration

```swift
var contentView: UIView? { get set }
```

## Discussion

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.
