SwiftUI KeyboardShortcut with Arrow Keys

前端 未结 0 1948
情话喂你
情话喂你 2021-01-06 02:38

I’m having trouble using an arrow key as a .keyboardShortcut in SwiftUI. Sample iOS app:

struct ContentView: View {
    @State var time: Date = D         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题