开发者

How to re-enable CoreLocation prompt in xcode?

开发者 https://www.devze.com 2023-01-21 18:38 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号