Instance Property


The behavior for determining the adjusted content offsets.


var contentInsetAdjustmentBehavior: UIScrollView.ContentInsetAdjustmentBehavior { get set }


This property specifies how the safe area insets are used to modify the content area of the scroll view. The default value of this property is UIScrollView.ContentInsetAdjustmentBehavior.automatic.

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.

enum UIScrollView.ContentInsetAdjustmentBehavior

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

func adjustedContentInsetDidChange()

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