0

答えが見つからないか、正しく検索していません。

手動でムービープレーヤーのサイズを変更し、フルスクリーンで再生するように選択した場合と同じように、サイズ変更中にアニメーションで表示できるかどうかを知りたいです。

よろしくお願いします!

4

1 に答える 1

0

IIRC, I have done so with MPMoviePlayerController. I do with AVPlayer in a released app. Of course, if you are doing fullscreen, you should use the fullscreen key, and otherwise use the following code. Here is how to make practically anything animate:

[UIView animateWithDuration:0.5
                 animations:^{ myMovieView.frame = newFrame; }];
于 2011-04-09T00:24:12.510 に答える