Reputation: 12915
I created a new UIViewController and added a MKMapView. The regionDidChange
never been called when zoom in/out. But it's been called when I pan or tap on the map. What could be the possible cause? Anybody have the same issue?
By the way, I'm using iOS 12.
Upvotes: 0
Views: 79
Reputation: 97
Hi I had the same issue as the one being described. I added the line mapView.delegate = self in my viewDidLoad() section and all of a sudden my app now works properly. I just wanted to add this comment to anyone else who may have a similar issue but not know where to add the line of code. Thanks Bagusflyer for posting this item, and thanks Kartik for posting an answer that has worked in my case :).
Upvotes: 0
Reputation: 535
Please check the method of delegate and then check the property - is zoomable. If you can tell more information, that's cool.
Upvotes: 0