Instance Property

contentViewInsets

The spacing between the content view and its sibling and parent views.

Declaration

var contentViewInsets: NSDirectionalEdgeInsets { get set }

Discussion

Use negative values for positive spacing. top and bottom represent the spacing between the content view and the header and footer views, respectively. leading and trailing represent the spacing between the content view and the lockup view. The default value is NSDirectionalEdgeInsetsZero.

See Also

Setting View Size

var contentSize: CGSize

The size of the content view.

var focusSizeIncrease: NSDirectionalEdgeInsets

The inset or outset values specifying your content's size increase when in focus.