Instance Property

contentInsetAdjustmentBehavior

The behavior for determining the adjusted content offsets.

Declaration

var contentInsetAdjustmentBehavior: UIScrollViewContentInsetAdjustmentBehavior { get set }

Discussion

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 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 UIScrollViewContentInsetAdjustmentBehavior

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.