APP已经提交给苹果进行审核了,今天看看审核结果,居然挂了,给了几点问题,其中有一点就是关于定位的问题:
Guideline 5.1.5 - Legal - Privacy - Location Services
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
意思就是你提示的内容中需要告诉用户获取用户的位置是用来干嘛的,而默认打包的app中是没有说明的,说明就是一个location,如下图:
在hbuilder的启动页面中,也没用看到有类似