2015年9月23日
摘要: // 延迟执行不要用sleep,坏处:卡住当前线程 [NSThread sleepForTimeInterval:(NSTimeInterval)];// 一旦定制好延迟任务后,不会卡主当前线程[self performSelector: withObject: afterDelay:];//n秒后... 阅读全文
posted @ 2015-09-23 00:11 菜鸟onTheLoad 阅读(166) 评论(0) 推荐(0) 编辑