keyboardShortcut modifier is not working with a custom ButtonStyle

前端 未结 0 416
你的背包
你的背包 2021-02-18 22:55

In SwiftUI on macOS you have a modifier to enable shortcuts for a specific control. For example:

struct ContentView: View {
    var body: some View {
        Butt         


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