* 被拒原因:
Your app declares support for location in the UIBackgroundModes key in your
Info.plist file but does not have any features that require persistent
location. Apps that declare support for location in the UIBackgroundModes key
in your Info.plist file must have features that require persistent location.

您的应用程序声明支持Info.plist文件中UIBackgroundModes键中的位置,但没有任何需要持久位置的功能。在Info.plist文件的UIBackgroundModes键中声明支持位置的应用程序必须具有需要持久位置的功能。

* 因为项目中使用百度地图了,打开了后台定位 //设置是否允许后台定位 self.locationManager.
allowsBackgroundLocationUpdates= YES;
* 解决方案:
* 将所有打开或使用后台定位的地方关闭(一般是不使用的)
* 将图片中红框位置的对勾去掉

技术
今日推荐
PPT
阅读数 131
下载桌面版
GitHub
百度网盘(提取码:draw)
Gitee
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:ixiaoyang8@qq.com
QQ群:766591547
关注微信