当用onDeviceMotionChange监听手机方向时候,再打开相机控件,出现卡顿
发布于 4 年前 作者 gang93 7141 次浏览 来自 问答

当用onDeviceMotionChange监听手机方向时候,再打开相机控件,出现卡顿,最后onDeviceMotionChange无法工作

2 回复

你好,可以监听下内存看看https://developers.weixin.qq.com/miniprogram/dev/api/device/performance/wx.onMemoryWarning.html,也尝试更新下微信版本看看。

打开相机控件时候,过一段时间,onDeviceMotionChange返回延迟

回到顶部