📜  在目标 c 之后调度 - Objective-C 代码示例

📅  最后修改于: 2022-03-11 15:04:44.989000             🧑  作者: Mango

代码示例1
// Delay execution of my block for 1 seconds.
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
    //do something here
});