1、创建计时器
1 2 | NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:3 target:self selector:@selector(calledMethods:) userInfo:nil repeats:YES]; // 每3秒调用[......]<p class="read-more"><a href="https://www.yusian.com/blog/project/2014/08/02/182451608.html">继续阅读</a></p> |