setMagnification(_:centeredAt:)
Scales the page content and centers the result on the specified point.
Declaration
func setMagnification(_ magnification: CGFloat, centeredAt point: CGPoint)Parameters
- magnification:
The factor by which to scale the content.
- point:
The point (in the web view’s bounds) at which to center magnification.