Instance Property


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


@property BOOL automaticallyAdjustsContentInsets;


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


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


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