Instance Method

setMagnification:centeredAtPoint:

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

Declaration

- (void)setMagnification:(CGFloat)magnification centeredAtPoint:(CGPoint)point;

Parameters

magnification

The factor by which to scale the content.

point

The point (in view space) to center magnification on.

See Also

Scaling Content

allowsMagnification

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

magnification

The factor by which the page content is currently scaled.