[[NSRunLoop currentRunLoop] addTimer:timer forMode:NSRunLoopCommonModes]; 把timer加到runloop里面就OK了 转载于:https://www.cnblogs.com/dachengzi/p/4956312.html