Instance Property

automaticallyAdjustsContentInsets

A Boolean that indicates whether the scroll view automatically adjusts its content insets.

Declaration

@property BOOL automaticallyAdjustsContentInsets;

Discussion

When the value of this property is YES, the scroll view automatically sets its contentInsets property to account for any overlapping title or tool bar. To overlap with the title or tool bar, the window style mask must include NSFullSizeContentViewWindowMask and the title bar must not be transparent.

The default value of this property is YES.

See Also

Managing Insets

contentInsets

The distance that the scroll view’s subviews are inset from the enclosing scroll view during tiling.

scrollerInsets

The distance the scrollers are inset from the edge of the scroll view.