How can I delay a few seconds in SwiftUI

后端 未结 0 445
一生所求
一生所求 2020-12-22 08:33

I tried using sleep() in Darwin however that seems to delay the execution of my previous function.

SomeStruct.display(argument)
sleep(1)

If I

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