Your Site Title

iOS GCD

延迟

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{    // 需要延迟执行的代码
});

Reference