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];