延遲執行方法

方法1:performSelector // 1.5s後自動調用self的hideHUD方法 [self performSelector:@selector(hideHUD) withObject:nil afterDelay:1.5]; 方法2:GCD dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER
相關文章
相關標籤/搜索