2***@qq.com
2***@qq.com
  • 发布:2018-03-03 09:44
  • 更新:2018-03-03 11:54
  • 阅读:3967

上架ios需要对请求的权限进行描述,请问现在怎么添加权限描述啊?

分类:Native.js

现在新上架ios的应用,比如定位了,拍照了这些苹果官方都需要添加简短的描述,苹果原生说是添加plist文件什么的就可以,但是我们自己做的app怎么添加?

这个是苹果给的反馈,我做定位上架时候,
Your app uses location services but does not clarify the purpose of its use in the location modal alert. Apps that collect, transmit, or use location data must notify and obtain the user’s consent prior to accessing this data.

Please see attached screenshots for details.

Next Steps

To resolve this issue, please specify why the app is requesting the user's location in the location permission modal alert.

2018-03-03 09:44 负责人:无 分享
已邀请:
王者地带

王者地带 - 5+混合APP开发教程网 | http://www.html5-app.com | 咨询QQ: 2564034335

http://ask.dcloud.net.cn/article/12964 参考这个

//例如:  
"plistcmds": [  
                    "Set :NSContactsUsageDescription 需要您同意才能获得您的通信录,允许吗?",  
                    "Set :NSMicrophoneUsageDescription 需要您同意才能录音发语音消息,允许吗?",  
                    "Set :NSPhotoLibraryUsageDescription 需要您同意才能获取到相册图片,允许吗?",  
                    "Set :NSCameraUsageDescription 需要您同意才能扫一扫商品或拍摄其他照片,允许吗?",  
                    "Set :NSPhotoLibraryAddUsageDescription 需要您同意才能添加相片到图库,允许吗?",  
                    "Set :NSLocationAlwaysUsageDescription 需要您同意才能获得您的地理位置,允许吗?",  
                    "Set :NSLocationWhenInUseUsageDescription 获得地理位置,为您更便捷获得你所在城市的资讯,允许吗?"  
                ]  
  • 2***@qq.com (作者)

    万分感谢,我看看哈。

    2018-03-03 16:52

该问题目前已经被锁定, 无法添加新回复