NSTimer 避坑指南

NSTimer 的建立 NSTimer的建立一般有两种方式,一种是以 scheduledTimerWithTimeInterval 为开头的类方法 。这些方法在建立了 NSTimer 以后会将这个 NSTimer 以 NSDefaultRunLoopMode 模式放入当前线程的 RunLoop。html + ( NSTimer *) scheduledTimerWithTimeInterval:i
相关文章
相关标签/搜索