开发者

How to make a Count Down timer?

How can i start a count dow开发者_高级运维n timer on my application start and close application at certain time?


You should have a look at NSTimer. Read the documentation, it's not that hard to use.

When the timer fires you can exit the application. You find more information about that here:

Proper way to exit iPhone application?

As the most upvoted answer says, you shouldn't, but it certainly is possible.

If you need help with NSTimer let me know.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜