I am trying to customize my MapView so that it displays zoom controls. Other properties work, but this one seems to be unknown to the compiler. This property is specified in apple documents for MKMapView.
Does anyone know why this is shown in documents until it compiles?
mapView.showsUserLocation = true;
mapView.showsScale = true;
mapView.zoomEnabled = true;
mapView.showsZoomControls = true; // Compile error
Error says
Value of type 'MKMapView' has no member 'showsZoomControls'
source
share