Adjust the insets only in the scrollable directions.
- iOS 11.0+
- tvOS 11.0+
The top and bottom insets include the safe area inset values when the vertical content size is greater than the height of the scroll view itself. The top and bottom insets are also adjusted when the
always property is
YES. Similarly, the left and right insets include the safe area insets when the horizontal content size is greater than the width of the scroll view.