Swipt Dispatch после
DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) {
// your code here
}
Javier Cobos Escalante
DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) {
// your code here
}
let deadlineTime = DispatchTime.now() + .seconds(1)
DispatchQueue.main.asyncAfter(deadline: deadlineTime) {
print("test")
}