Automatically adjust the scroll view insets.
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 11.0+
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.