开发者

countdown timer implementation in UILabel?

开发者 https://www.devze.com 2023-01-30 12:03 出处:网络
I am Implementing a countdown time开发者_Go百科r in my app. In the functionality, I need to display the remaining time before Jan 1st 2011. In months, days, hours and minutes format.

I am Implementing a countdown time开发者_Go百科r in my app. In the functionality, I need to display the remaining time before Jan 1st 2011. In months, days, hours and minutes format. Can any one please help. Thanks in advance.


use an NSTimer which update you're label everytime it's fired

http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSTimer_Class/Reference/NSTimer.html

0

精彩评论

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