📜  onLongPressGesture tvos - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:30.894000             🧑  作者: Mango

代码示例1
struct ContentView: View {
    var body: some View {
        Text("Hello, world!")
        .focusable()
        .onPlayPauseCommand(perform: {
            print("hello")
        })
    }
}