Edit

Share via


UIScrollView.MaximumZoomScale Property

Definition

The value of the maximum scale factor that can be applied to the content view.

public virtual nfloat MaximumZoomScale { [Foundation.Export("maximumZoomScale")] get; [Foundation.Export("setMaximumZoomScale:")] set; }
member this.MaximumZoomScale : nfloat with get, set

Property Value

The default value is 1.0f

Attributes

Remarks

This value should be greater than the value of MinimumZoomScale.

If this and MinimumZoomScale are left at their default values of 1.0, zooming will not appear to work, as the zoom will be constrained to that single value.

Applies to