UIScrollView.ContentInsetAdjustmentBehavior.automatic
Automatically adjust the scroll view insets.
Declaration
case automaticDiscussion
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.