0

私は、プレーヤーが最初のビデオから2番目のビデオに移動しているAVPlayerときにディゾルブアニメーションが必要であるという見解を持っています。

4

1 に答える 1

0

あなたの UIView 構造はわかりませんが、新しい UIView / AVVideo をロードし、UIView アニメーションを使用して現在のビューを 2 番目のビューに変換できます。

// load new UIView
// make it invisible
[UIView animateWithDuration:1
                      delay:1.5
                    options:UIViewAnimationCurveEaseOut
                 animations:^{
                     // fade in, or change x/y to slide in
                 }
                 completion:^(BOOL finished){
                     NSLog(@"Done!");
                 }];
于 2013-07-23T07:14:55.507 に答える