Contents

behavioralStyle

The behavioral style of the navigation bar.

Declaration

var behavioralStyle: UIBehavioralStyle { get }

Mentioned in

Discussion

Use this property to determine the actual behavior style when the preferredBehavioralStyle is UIBehavioralStyle.automatic.

When the value of this property is UIBehavioralStyle.mac, NSToolbar displays the navigation bar’s content when you build your app with Mac Catalyst. Not every navigation item property is supported in every toolbar section. For more information, see Display content in a toolbar on Mac.

See Also

Building with Mac Catalyst