Called when the adjusted content insets of the scroll view change.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- UIKit
Declaration
func adjustedContentInsetDidChange()
Called when the adjusted content insets of the scroll view change.
SDKs
Framework
func adjustedContentInsetDidChange()
var adjusted Content Inset: UIEdge Insets
The insets derived from the content insets and the safe area of the scroll view.
var content Inset: UIEdge Insets
The custom distance that the content view is inset from the safe area or scroll view edges.
var content Inset Adjustment Behavior: UIScroll View .Content Inset Adjustment Behavior
The behavior for determining the adjusted content offsets.
enum UIScroll View .Content Inset Adjustment Behavior
Constants indicating how safe area insets are added to the adjusted content inset.