Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
哪个更有效率?最大的区别是你不能取消 dispatch_after 块的执行,而你可以使用 NSTimer。那么哪个更好:大量无法取消的 dispatch_after 块或大量 NSTimer 将在可能的情况下取消?