Swift Time Delay Call Main Thread

[Solved] Swift Time Delay Call Main Thread | Swift - Code Explorer | yomemimo.com
Question : swift + time delay call main thread

Answered by : thee-thee-fire-fire

DispatchQueue.main.asyncAfter(deadline: .now() + 1) { //Your code
}

Source : https://stackoverflow.com/questions/44838535/how-can-i-call-a-function-after-a-time-delay-in-the-main-thread-in-swift-3 | Last Update : Sat, 16 May 20

Answers related to swift time delay call main thread

Code Explorer Popular Question For Swift