标签: ios multithreading queue grand-central-dispatch
如何创建延迟1秒的队列?我无法使用NSTimer,因为我传递了CoreData Entity
答案 0 :(得分:0)
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ //Do whatever after 1 second });