Settimeout In Swift

[Solved] Settimeout In Swift | Swift - Code Explorer | yomemimo.com
Question : settimeout in swift

Answered by : mobile-star

DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) { // Change `2.0` to the desired number of seconds. // Code you want to be delayed
}

Source : | Last Update : Thu, 05 Dec 19

Answers related to settimeout in swift

Code Explorer Popular Question For Swift