1.
//*********** For A Special Time CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"opacity"]; [animation setDuration:0]; [animation setFromValue:[NSNumber numberWithFloat:1.0]]; [animation setToValue:[NSNumber numberWithFloat:0.0]]; [animation setBeginTime:5]; [animation setRemovedOnCompletion:NO]; [animation setFillMode:kCAFillModeForwards]; [overlayLayer addAnimation:animation forKey:@"animateOpacity"];
http://blog.csdn.net/lvmaker/article/details/51945254
2.直播
http://www.jianshu.com/p/b8db6c142aad