Contents

contentInset

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

Declaration

final var contentInset: UIEdgeInsets { get set }

Discussion

Use this property to add additional scroll area around content. Default is .zero.

See Also

Configuring content insets