camera组件怎么切换摄像头
发布于 4 年前 作者 chao58 8878 次浏览 来自 问答

小程序 camera 组件 初始化后 再怎么切换前置后置摄像头?改变 device-position  的参数无效

3 回复

这边测试没有复现问题的,麻烦提供一下代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

https://developers.weixin.qq.com/s/3KQihnml7C9A 实测有效。你怎么不把你的代码贴出来,有可能是你写错了,也有可能是你手机不支持

回到顶部