当一个控制器中有两个scrollview,可以在不用多线程的条件下同时执行
时间:2015-05-16 23:28:14
收藏:0
阅读:536
当一个控制器中有两个scrollview,可以在不用多线程的条件下同时执行
self.timer = [NSTimer scheduledTimerWithTimeInterval:3.0 target:self selector:@selector(nextImage) userInfo:nil repeats:YES];
[[NSRunLoop currentRunLoop] addTimer:self.timer forMode:NSRunLoopCommonModes];
评论(0)