📜  swift dispatch after - Swift 代码示例
📅  最后修改于: 2022-03-11 15:01:02.082000             🧑  作者: Mango
代码示例1
let deadlineTime = DispatchTime.now() + .seconds(1)
DispatchQueue.main.asyncAfter(deadline: deadlineTime) {
print("test")
}