User location: "Blue dot" in MapKit Overlay Views tutorial

Hi, I’m playing with this tutorial - https://www.raywenderlich.com/425-mapkit-tutorial-overlay-views

Trying to figure out how to enable user location (blue dot) on it.

“mapView.showsUserLocation = true” or “User location” in storyboard isn’t working

Already tried to ask on StackOverflow but no-one was able to help me.

Tried simulation & physical iPhone with no luck.

Thanks a lot

@owenb Can you please help with this when you get a chance? Thank you - much appreciated! :]

1 Like

Hi bujna94,
When testing in the simulator, have you tried setting the custom location (or pick from the list) in the Debug → Location menu?

As far as on the phone, ensure your location services is turned on the phone and that the app has permission to use your location.

Hope this helps,
Owen

This topic was automatically closed after 166 days. New replies are no longer allowed.