Instance Property

layoutAttribute

The location of the accessory view, in relation to the window’s title bar.

Declaration

@property NSLayoutAttribute layoutAttribute;

Discussion

The default value of this property is NSLayoutAttributeBottom, which means that the accessory view should display below the title bar. You can also set this property to NSLayoutAttributeRight or (in apps linked on macOS 10.11 or later) NSLayoutAttributeLeft. All other values are invalid and will cause an assertion to be raised.

See Also

Configuring a Title Bar Accessory View Controller

fullScreenMinHeight

The visual minimum height of an accessory view that displays below the title bar when the window is in full screen mode.