Post

Replies

Boosts

Views

Activity

「iPadOS」No shortcut discoverability HUD when hold down the Command key on iPadOS
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 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])             }         }     } }
2
0
662
Jul ’20