Instance Property

allowsMagnification

Allows the user to magnify the scroll view.

Declaration

@property BOOL allowsMagnification;

Discussion

This property does not prevent the developer from manually adjusting the magnification value. If magnification exceeds either the maximum or minimum limits for magnification, and allowsMagnification is YES, the scroll view temporarily animates the content magnification just past those limits before returning to them. The default value is NO.

See Also

Zooming the Scroll View

magnification

The amount by which the content is currently scaled.

- magnifyToFitRect:

Magnifies the content view proportionally such that the given rectangle fits centered in the scroll view.

maxMagnification

The maximum value to which the content can be magnified.

minMagnification

The minimum value to which the content can be magnified.

- setMagnification:centeredAtPoint:

Magnify the content by the given amount and center the result on the given point.