开发者

Iphone 4.0 - Background timer

It seems that an NSTimer created in the开发者_JS百科 background stalls till the app is brought back into foreground. How does the Iphone default Clock app's timer work then?

Thanks!


There's a real time clock in hardware, and the operating system will interface with it. It exposes the clock via a C API which is likely what the Clock app is using.

Plus, Apple has no limitation on what they can do in the background with their applications like we third party devs do.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜