Instance Property


The factor by which the page content is currently scaled.


var magnification: CGFloat { get set }


The default value is 1.0.

See Also

Scaling Content

var allowsMagnification: Bool

A Boolean value indicating whether magnify gestures will change the web view’s magnification.

func setMagnification(CGFloat, centeredAt: CGPoint)

Scales the page content by a specified factor and centers the result on a specified point.