Is it possible to call alert “Allow to use current location” manually?

霸气de小男生 提交于 2019-12-18 09:05:40

问题


Is it possible to call alert "Allow to use current location" manually when using CoreLocation framework?


回答1:


No, it's automatically displayed when the app accesses Core Location. If the user rejects it, it's displayed a second time at the next launch, then it keeps quiet and isn't shown anymore.

See this answer how to detect if the user rejected the request.



来源:https://stackoverflow.com/questions/3749648/is-it-possible-to-call-alert-allow-to-use-current-location-manually

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!