Instance Property

allowsMagnification

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

Declaration

var allowsMagnification: Bool { get set }

Discussion

The default value is false. You can set the magnification property even if allowsMagnification is set to false.

See Also

Scaling Content

var magnification: CGFloat

The factor by which the page content is currently scaled.

func setMagnification(CGFloat, centeredAt: CGPoint)

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