一次性GCD定时器
2022-04-14 本文已影响0人
滴滴滴开门
dispatch_time_t timer = dispatch_time(DISPATCH_TIME_NOW, 7.0 * NSEC_PER_SEC);
dispatch_after(timer, dispatch_get_main_queue(), ^(void){
NSLog(@"GCD-----%@",[NSThread currentThread]);
});