MKMapView.ZoomEnabled MKMapView.ZoomEnabled Property

Definition

Controls if the user can zoom in and out of the map using a pinch gesture.

[get: Foundation.Export("isZoomEnabled")]
[set: Foundation.Export("setZoomEnabled:")]
public virtual bool ZoomEnabled { get; set; }
member this.ZoomEnabled : bool with get, set

Property Value

Default is true.

Remarks

The default value of true allows zooming. This property only controls if the user can interactively zoom. It has no affect on zooming the map in code, which can be done by changing either the Region or VisibleMapRect properties.

Applies to