videoRect
The current size and position of the video image that displays within the layer’s bounds.
Declaration
var videoRect: CGRect { get }Discussion
The size and position of a rectangle depends on the aspect ratio of the media (16:9 or 4:3), the layer’s bounds, and the value of its videoGravity property.
This property is key-value observable.