how to enable button once every 2 hours, when user tap on button then button disabled for next 2 hours

后端 未结 0 1322
自闭症患者
自闭症患者 2021-01-19 13:13

I want to enable button once every 2 hours, when user tap on the button & then button disabled for next 2 hours. how to achieve that functionality in SwiftUI?

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