creator 在web环境支持Acceleration重力感应吗?

在移动端的web环境是否支持Acceleration重力感应?

按[官方教程](https://docs.cocos.com/creator/2.4/manual/zh/scripting/player-controls.html)只能在安卓机上有输出,ios没反应。

安卓机上输出一直是0 0

cc.Class({
    extends: cc.Component,
    onLoad () {
        // open Accelerometer
        cc.systemEvent.setAccelerometerEnabled(true);
        cc.systemEvent.on(cc.SystemEvent.EventType.DEVICEMOTION, this.onDeviceMotionEvent, this);
    },

    onDestroy () {
        cc.systemEvent.off(cc.SystemEvent.EventType.DEVICEMOTION, this.onDeviceMotionEvent, this);
    },

    onDeviceMotionEvent (event) {
        cc.log(event.acc.x + "   " + event.acc.y);
    },
});

手机浏览器是支持重力感应的,原生js测试过,不过ccc的底层是否有去调用,就不清楚了

安卓和ios都可以吗?