摘要:
调用一次计时器方法:[cpp]view plaincopymyTimer=[NSTimerscheduledTimerWithTimeInterval:1.5target:selfselector:@selector(scrollTimer)userInfo:nilrepeats:NO];//不重复,只调用一次。timer运行一次就会自动停止运行重复调用计时器方法:[cpp]view plaincopytimer=[NSTimerscheduledTimerWithTimeInterval:1.0target:selfselector:@selector(function:)userInfo: 阅读全文