iphone12真机测试调用相机返回不支持
faceRec(e) {
wx.initFaceDetect({
success: (res) => {
console.log(res)
this.startFace()
},
fail: (err) => {
console.log(err)
}
})
},
startFace() {
const context = wx.createCameraContext()
const listener = context.onCameraFrame((res) => {
console.log('>>>>>')
});
if (wx.canIUse('CameraFrameListener.start')) {
console.log('哈哈哈')
listener.start({
success: () => {
console.log('success')
},
fail: (msg) => {
console.log('fail>>>', msg)
},
complete: () => {
console.log('complete')
}
})
} else {
console.log('嘤嘤嘤')
}
}
请问楼主,这个问题解决了吗?我iOS好几个机型也都有这个问题~
23年了,还是老样子
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)