سؤال

I have an MKMapView in a View Controller for my app and I checked "Shows User Location" in the Attributes tab of the MKMapView. The first simulation took awhile to load, as I expected, and the prompt came up asking whether to show the user location (Don't Allow / Allow). I chose 'Don't Allow' just to test the option first, but now the prompt will not return and I cannot show user location at all. I searched for an answer but could not find one. Sorry, I'm still a beginning iOS developer!

Thanks!

Answered below by Nico: Reset the simulator, don't be a noobie. Silly me!

هل كانت مفيدة؟

المحلول

Reset your simulator permission : in the simulator -> Settings -> reset.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top