Contents

directionalLayoutMargins

The margins between the content and the edges of the content view.

Declaration

var directionalLayoutMargins: NSDirectionalEdgeInsets { get set }

Discussion

When you preserve superview layout margins on one or both axes, this value specifies the minimum margins. The inherited margins may be larger.

By default, the content view preserves the layout margins of its superview on both axes. You can customize this behavior by changing axesPreservingSuperviewLayoutMargins.

See Also

Customizing layout