iOS项目真机运行时提示Development cannot be enabled while your device is locked.

手机升级到iOS 10之后,运行真机出现了Development cannot be enabled while your device is locked. 问题:Development cannot be enabled while your device is locked. 分析原因:由于第一次连接MAC时,在设备上点击了...

发布于 2019-01-13 阅读(163)

解决ios audio无法自动播放、循环播放的问题

// 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...

发布于 2018-10-16 阅读(155)
    共1页/2条