We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
视频画面的填充模式,如无缩放,同比适配,满屏填充等效果
typedef NS_ENUM(NSInteger, MPMovieScalingMode) { MPMovieScalingModeNone, MPMovieScalingModeAspectFit, MPMovieScalingModeAspectFill, MPMovieScalingModeFill };
通过scalingMode属性来设置/获取当前所放模式,播放前或者播放中设置均生效。
_player.scalingMode = MPMovieScalingModeAspectFit;