Setcurrent of audio engine does not work on native ios
No problem on the web
Is there a workaround?
Thank you.
Setcurrent of audio engine does not work on native ios
No problem on the web
Is there a workaround?
Thank you.
the cocos creator’s version?
can you provide a demo that i can reproduce the issue?
as usual,the audio engine will works well on native ios.
cocos creator 1.9.1 use
ios native Setcurrenttime is not applied.
Project demo link
https://drive.google.com/open?id=1WYW0TrvAqEhqm4kRsB7_qo5Ybsn7Yxbf
this bug is not fixed yet,probably you can used a hack to solve it.Like
cc.loader.loadRes("test.mp3", function (err, clip) {
var testaudio = cc.audioEngine.play(clip, false, 1);
setTimeout(()=>{
cc.audioEngine.setCurrentTime(testaudio, 30);
},0.1);
});
Reference:
https://github.com/cocos2d/cocos2d-x/issues/16625
the issue on github:
https://github.com/cocos-creator/cocos2d-x-lite/issues/1587
Hack does not work 
thank you