Instance Method


Called when the adjusted content insets of the scroll view change.


func adjustedContentInsetDidChange()

See Also

Managing the Content Inset Behavior

var adjustedContentInset: UIEdgeInsets

The insets derived from the content insets and the safe area of the scroll view.

var contentInset: UIEdgeInsets

The custom distance that the content view is inset from the safe area or scroll view edges.

var contentInsetAdjustmentBehavior: UIScrollView.ContentInsetAdjustmentBehavior

The behavior for determining the adjusted content offsets.

enum UIScrollView.ContentInsetAdjustmentBehavior

Constants indicating how safe area insets are added to the adjusted content inset.