I've tried a few things to get dropdown menus working on my Catalyst toolbar.
Even tried adding an itemMenuFormRepresentation, but no dice.
Has anyone got this working on Big Sur?
Code Block let barButton = UIBarButtonItem(systemItem: .add, primaryAction: UIAction(title: "Add", handler: { [weak self] _ in ... }), menu: menu) let addItem = NSToolbarItem(itemIdentifier: .addItem, barButtonItem: barButton)
Even tried adding an itemMenuFormRepresentation, but no dice.
Code Block addItem.itemMenuFormRepresentation = AppDelegate.newMenu
Has anyone got this working on Big Sur?