iOS积累 003:iOS中延时执行的几种方式的比较和汇总

转载自:http://blog.sina.com.cn/s/blog_8280f5ec0101k03c.htmlhtml 本文列举了四种延时执行某函数的方法及其一些区别。假如延时1秒时间执行下面的方法。函数 - (void)delayMethod { NSLog(@"execute"); } 1.performSelector方法 [self performSelector:@selector(d
相关文章
相关标签/搜索