Contents

videoBounds

The size and position of the video image within the bounds of the view controller’s view.

Declaration

var videoBounds: CGRect { get }

Discussion

The size and position of this rectangle depend on the aspect ratio of the media (like 16:9 or 4:3), the bounds of the player view controller’s view, and the view controller’s videoGravity.

This property is key-value observable.

See Also

Configuring presentation