let delayTime = dispatch_time(DISPATCH_TIME_NOW,Int64(30 * Double(NSEC_PER_SEC))) dispatch_after(delayTime,dispatch_get_main_queue()) { () -> Void in print("延迟30秒") }原文链接:https://www.f2er.com/swift/323251.html
let delayTime = dispatch_time(DISPATCH_TIME_NOW,Int64(30 * Double(NSEC_PER_SEC))) dispatch_after(delayTime,dispatch_get_main_queue()) { () -> Void in print("延迟30秒") }原文链接:https://www.f2er.com/swift/323251.html