标签:
1 CADisplayLink *link = [CADisplayLink displayLinkWithTarget:self selector:@selector(XXXXXXXX)]; 2 //此定时器每秒更新60次,设置此属性后,每秒更新60/frameInterval 3 link.frameInterval = 2; 4 //添加定时器 5 [link addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSRunLoopCommonModes];
标签:
原文地址:http://www.cnblogs.com/neilHoIOS/p/4628894.html