---
title: automaticallyPlacesContentView
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibackgroundextensionview/automaticallyplacescontentview
---

# automaticallyPlacesContentView

Controls the automatic safe area placement of the contentView within the container.

## Declaration

```swift
var automaticallyPlacesContentView: Bool { get set }
```

## Discussion

Discussion When NO, the frame of the content view must be explicitly set or constraints added. The extension effect will be used to fill the container view around the content. Defaults to YES.
