会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
白盒子
Share knowledge, equal to the accumulation of wealth!(新浪微博:@Danny_吕昌辉)
博客园
首页
新随笔
订阅
管理
2014年9月1日
【IOS】倒计时实现的两种方法
摘要: 方法1:使用NSTimer来实现 主要使用的是NSTimer的scheduledTimerWithTimeInterval方法来每1秒执行一次timeFireMethod函数,timeFireMethod进行倒计时的一些操作,完成时把timer给invalidate掉就ok了,代码如下:1 s...
阅读全文
posted @ 2014-09-01 08:36 Danny_吕昌辉
阅读(232)
评论(0)
推荐(0)
编辑
公告