"plistcmds": [
"Set :NSCameraUsageDescription Your camera will be used for QR Code scanning purpose.",/*正常运作*/
"Set :NSLocationAlwaysUsageDescription Your location will be used for driver's navigation only.",/*无效*/
"Set :NSLocationWhenInUseUsageDescription Your location will be used for driver's navigation only.",/*无效*/
"Set :NSLocationAlwaysAndWhenInUseUsageDescription Your location will be used for driver's navigation only."/*无效*/
]
这是我这边用的代码,但实际使用时只有camera的提示被显示了,地理位置只有LocationAlwaysAndInUse。现在有什么解决方案吗?
AppID和代码位置检查过了,没有问题。另外NSLocationAlwaysAndInUseUsageDescription也试过了,没有反应。
更新:ipa无法上传,原因不明。另外info.plist中的对应条目没有被这段代码修改。
Finorix079 (作者)
解决了!多谢!
2018-08-10 11:10