I'm trying to use two timers in the same SwiftUI view

后端 未结 0 1400
别那么骄傲
别那么骄傲 2020-12-21 06:48

one or the other works but not both, I\'ve tried putting the .onReceive in various places

struct ContentView: View {
    
    @State var isPlaying: Bool = tru         


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