How to disable user interaction on MKMapView?
问题 How do you disable user interaction to an entire Map (MKMapView) in iOS? I just want to disable zooming, tapping, etc and show a static map. [self.mapView setUserInteractionEnabled:NO] didn't work. Found no working solutions via Google or other answers here on Stack (pls link if you find a working answer..) . Targeting iOS 5. There should be an easier way to do this. 回答1: The key is to disable zooms and scrolls, such as: self.mapView.zoomEnabled = false; self.mapView.scrollEnabled = false;