struct ContentView: View { var body: some View { Button("Keyboard Enabled Button") { print("P pressed") }.keyboardShortcut("p", modifiers: [.command]) } } ...
確定! 回上一頁