iphone手机上调用camera的takephoto拍照的照片全黑?

发布于 5 年前作者 chengyan8905 次浏览最后编辑 5 年前来自 issues

相关APIwx.createCameraContext().takePhoto(),wx.getFileSystemManager().readFile()。

整体逻辑就是把wx.createCameraContext().takePhoto()拍照后success回调返回的文件路径再通过wx.getFileSystemManager().readFile()将它转成base64格式



1 回复
pingchang
pingchang1 楼5 个月前

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。