淺談iOS開發中方法延遲執行的幾種方式(轉載)

原文:http://www.jianshu.com/p/6ed28a29b391 Method1. performSelector方法 Method2. NSTimer定時器 Method3. NSThread線程的sleep Method4. GCD 公用延遲執行方法atom - (void)delayMethod{ NSLog(@"delayMethodEnd");}spa Method1:p
相關文章
相關標籤/搜索