手机升级到iOS 10之后,运行真机出现了Development cannot be enabled while your device is locked. 问题:Development cannot be enabled while your device is locked. 分析原因:由于第一次连接MAC时,在设备上点击了
解决ios audio无法自动播放、循环播放的问题
2018-10-16// music自动播放 var music = document.getElementById(bgm); var state = 0; document.addEventListener(touchstart, function(){ if(state==0){ music.play(); state=1; } }, false); document.addEventListener(WeixinJSBridgeReady, function () { m