When I first开发者_如何学运维 ran my app that uses CoreLocation in the iPhone simulator, I was prompted with the dialog saying that my app would like to use my current location. In that popup, there is a checkbox that says never ask again. I had that checkbox selected, and now I never receive that popup again. How can I revert this change? I'd like to see the popup again to do some testing. Thanks for your help!
Deleting the app and running it again will do it, or you can go into Settings -> General -> Reset and tap "Reset Location Warnings" (which will reset it for all apps.)
None of the above worked for me. But I found changing simulator version from 4.3 to 5.1 fixed the problem temporarily.
精彩评论