第5月第18天 视频编辑 水印

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

posted @ 2017-02-18 10:48  lianhuaren  阅读(125)  评论(0编辑  收藏  举报