---
title: UIScrollView.ContentInsetAdjustmentBehavior.automatic
framework: uikit
role: symbol
role_heading: Case
path: uikit/uiscrollview/contentinsetadjustmentbehavior-swift.enum/automatic
---

# UIScrollView.ContentInsetAdjustmentBehavior.automatic

Automatically adjust the scroll view insets.

## Declaration

```swift
case automatic
```

## Discussion

Discussion Content is always adjusted vertically when the scroll view is the content view of a view controller that is currently displayed by a navigation or tab bar controller. If the scroll view is horizontally scrollable, the horizontal content offset is also adjusted when there are nonzero safe area insets.
