ios - 为什么隐私设置的定位服务里没有我的app?
PHP中文网
PHP中文网 2017-04-17 13:59:25
0
3
3068

我的app要用到定位,
在真机测试的时候发现隐私设置里的定位服务列表里没有我的app,
也没有提示我是否允许使用定位,
这样就无法开启定位服务了
请问这是什么问题?
补充:在iphone4s上 隐私设置里是有的,但是到了iphone5 和iphone6 就没有了,
不知道跟这个有关系吗?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
刘奇

It definitely has nothing to do with the phone, it should have something to do with the system.

Addedplist? Reference here

PHPzhong

The correct answer upstairs is that you need to register in the plist. The model you mentioned should not be affected. I think it is the system version. The iOS positioning registration method has changed in sdk8.0

Ty80

For iOS8 system, these two parameters need to be added to the plist file
NSLocationAlwaysUsageDescription = YES
NSLocationWhenInUseUsageDescription = YES

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template