浅谈iOS开发中方法延迟执行的几种方式(转载)

原文:http://www.jianshu.com/p/6ed28a29b391 Method1. performSelector方法 Method2. NSTimer定时器 Method3. NSThread线程的sleep Method4. GCD 公用延迟执行方法atom - (void)delayMethod{ NSLog(@"delayMethodEnd");}spa Method1:p
相关文章
相关标签/搜索