Hi there,
I'm using override func buildMenu(with builder: UIMenuBuilder)
to add some menu items (with keyboard shortcuts) to a Catalyst app.
I'm also using override func validate(_ command: UICommand)
to enable/disable the menus selectively.
All is working wonderfully except for one situation.
My custom menu items are disabled when presenting a view controller as UIModalPresentationStyle.pageSheet
If I change to present as a fullscreen modal everything works again. The command also work when I build to iPad.
Any idea how to get UIKeyCommands to work when presenting a sheet style modal view controller on macOS?
Thanks in advanced.