Enumeration Case

UIScrollView.ContentInsetAdjustmentBehavior.automatic

Automatically adjust the scroll view insets.

Declaration

case automatic = 0

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.