UIMenuBuilder separators (Catalyst)

Has anyone figured out how to (in code) add separators between items in the menu bar in Catalyst/UIKitForMac?

Accepted Reply

You can get a group with separators by putting UIKeyCommands as children of a UIMenu, and set the menu's options to display inline.

Replies

You can get a group with separators by putting UIKeyCommands as children of a UIMenu, and set the menu's options to display inline.