0
点赞
收藏
分享

微信扫一扫

www/index.html would like to use your current location

萨科潘 2023-03-12 阅读 61


场景

当应用启动时,提示错误如下:

www/index.html would like to use your current location_IDE

原因

Xcode中配置时在Info下的Privacy-Location声明中配置

有个Privacy -Location When in Use.....

将这个删掉(选中这行,左边有个'-'号),再次运行就不会报错。

如果想要查看所有的权限列表,可以点击‘+’号,查看。

可以看到关于定位的权限有好几种,尽量选Privacy -Location Always ...

www/index.html would like to use your current location_ios_02

举报

相关推荐

0 条评论