I'm trying to setup my MapView so that it shows the zoom controls. Other properties are working but this one seems unknown to the compiler. This property is listed in the apple docs for MKMapView Anyone know why it's shown in the docs yet won't compile?
mapView.showsUserLocation = true;
mapView.showsScale = true;
mapView.zoomEnabled = true;
mapView.showsZoomControls = true; // Compile error
Error says
Value of type 'MKMapView' has no member 'showsZoomControls'
Property showsZoomControls
is not available in MKMapView
for iOS. It is available on OS X though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With