Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我似乎找不到答案,或者我没有正确搜索。
我想知道是否可以手动调整电影播放器的大小并在调整大小期间显示动画,就像您选择它以全屏播放时一样。
预先感谢您的输入!
IIRC,我已经用 MPMoviePlayerController 做到了。我在发布的应用程序中使用 AVPlayer。当然,如果做全屏,就应该使用全屏键,否则使用下面的代码。以下是如何使几乎任何东西都具有动画效果:
[UIView animateWithDuration:0.5 animations:^{ myMovieView.frame = newFrame; }];