iOS延遲執行方法

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5.0 * NSEC_PER_SEC)), dispatch_get_global_queue(0, 0), ^{ NSLog(@"延遲了5秒了"); }); 1.performSelector方法spa [self performSelector:@selector(d
相關文章
相關標籤/搜索