苹果被拒使用用户摄像头

逗燕子
- 发布:2018-07-26 11:16
- 更新:2018-08-03 17:06
- 阅读:1303

uniapp视频教程 - https://www.uni-app.cn/ (枫桥居 uni-app视频教程)
在需要的地方进行相应权限获取,不要在首页和一些关键页面弹出敏感授权框.比如位置获取,不能一打开app就要获取位置授权,我是放到用户签到时候获取授权,或者用户点击登录按钮后获取~
苹果的规则就是这么霸气~只能适应他,如果果真要一进入app就获取授权,可以参考 http://ask.dcloud.net.cn/article/12964