Contents

scalingMode

The scaling mode to use when displaying the movie.

Declaration

var scalingMode: MPMovieScalingMode { get set }

Discussion

Changing this property while the movie player is visible causes the current movie to animate to the new scaling mode.

The default value of this property is MPMovieScalingMode.aspectFit. For a list of available scaling modes, see MPMovieScalingMode.

See Also

Accessing movie properties