setVideoGravity(_:)
Sets the resizing behavior for the movie content.
Declaration
func setVideoGravity(_ videoGravity: WKVideoGravity)Parameters
- videoGravity:
The resizing option for the movie. For a list of possible values, see the Wkvideogravity type. Defaults to Resizeaspect.