博客> APP打包上传问题集1
APP打包上传问题集1
2018-06-19 09:59 评论:0 阅读:341 易_君
ios 上传 定位权限
                            定位导致APP上架不成功解决方法

Legal - 5.1.5 Your app uses background location services but does not clarify the purpose of its use in the location modal alert as

4.5 Details

Your app uses background location services but does not clarify the purpose of its use in the location modal alert as required in the iOS Human Interface Guidelines.

We’ve attached screenshot(s) for your reference.

Next Steps

Please reconfigure the UIAlertControllerStyleAlert in your code and specify the intended purpose of using background location in its message field.

出现这个被拒的问题!我的解决方案是在 in info.plist文件里面增加 NSLocationAlwaysUsageDescription 并且要配上详细说明文字但要简洁,告诉用户你为什么要访问他的位置!

今天在看到App Store 上架过程中,苹果公司反馈的拒绝原因发现了这么一个问题:

Legal - 5.1.5

Your app uses background location services but does not clarify the purpose of its use in the location modal alert as required in the iOS Human Interface Guidelines. We've attached screenshot(s) for your reference

具体就是说对于后台定位功能,我们进行的描述不够确切(虽然上一个版本没有提出这个问题)。具体的解决方案是在info.plist中增加一行NSLocationAlwaysUsageDescription,具体进行描述你要使用后台定位功能做什么或者别的描述,尽量做到简洁明了。如图所示:  Enter your image description here: 借鉴以前搜索楼主使用的是百度地图使用后台定位时,对定位功能的描述Continued use of GPS running in the background can dramatically decrease battery life.可以借鉴一下。

Resources

For additional information and instructions on configuring and presenting an alert, see theAccessing User Datasection of the iOS Human Interface Guidelines and theUIKit Framework Reference.  Enter your image description here: 解决方案步骤: 1.打开项目plist

 Enter your image description here: 2.run

 Enter your image description here:

收藏
0
sina weixin mail 回到顶部