您的位置:首页 > 其它

scheduledTimerWithTimeInterval

2015-05-27 11:03 253 查看
+ (NSTimer *)scheduledTimerWithTimeInterval:([code]NSTimeInterval
)
seconds
target:(
id
)
target
selector:(
SEL
)
aSelector
userInfo:(
id
)
userInfo
repeats:(
BOOL
)
repeats
[/code]
Description:
Creates and returns a new NSTimer
 object and schedules it on the current run loop in the default mode.[/code]
After seconds
 seconds have elapsed, the timer fires, sending the message 
aSelector
 to 
target
.
[/code]
定时器,每隔一段时间,就会调用目标函数
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐