Contents

allowsExtensionItems

A Boolean value that indicates whether the toolbar can add items for Action extensions.

Declaration

var allowsExtensionItems: Bool { get set }

Discussion

If the value of this property is true, the toolbar can dynamically create toolbar items for Action extensions in the toolbar configuration panel. The toolbar can only add an Action extension if its Info.plist file contains the NSExtensionServiceAllowsToolbarItem key with the value true. The default value of this property is false.

See Also

Configuring the toolbar’s behavior