Instance Property

contentInsetAdjustmentBehavior

The behavior for determining the adjusted content offsets.

Declaration

@property(nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior;

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 UIScrollViewContentInsetAdjustmentAutomatic.

See Also

Managing the Content Inset Behavior

adjustedContentInset

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

contentInset

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

UIScrollViewContentInsetAdjustmentBehavior

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

- adjustedContentInsetDidChange

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