setMagnification(_:centeredAt:)
Scales the video’s view by a specified factor, and centers the result on a specified point.
Declaration
func setMagnification(_ magnification: CGFloat, centeredAt point: CGPoint)Parameters
- magnification:
A factor by which to scale the video’s view.
- point:
A point in view space on which to center magnification.
Discussion
The supported magnification range is 1.0 to 64.0. The system zooms using nearest neighbor interpolation after it scales the content past a certain factor.