MacOS: Version 11.0 Beta (20A4300b)
Xcode: Version 12.0 beta 2 (12A6163b)
The following code works on the MacOS Target with menu within menu bar, but no shortcut discoverability HUD on iPadOS Target when user hold down the Command key
Xcode: Version 12.0 beta 2 (12A6163b)
The following code works on the MacOS Target with menu within menu bar, but no shortcut discoverability HUD on iPadOS Target when user hold down the Command key
Code Block swift import SwiftUI @main struct SwiftUIHubApp: App { var body: some Scene { WindowGroup { ContentView() } .commands { CommandMenu("Shape") { Button("New Shape") { print("New Shape") } .keyboardShortcut("S", modifiers: [.command, .shift, .control]) } } } }