Spritekit stopping sound

前端 未结 1 1786
臣服心动
臣服心动 2021-01-18 17:44

I\'m currently developing a game using Apple\'s SpriteKit library but I\'m unable to stop a sound after is has began playing. I have tried using the listed methods from the

相关标签:
1条回答
  • 2021-01-18 18:28

    Ive had similar issues using SK audio.. and as a result I have fallen back on using AVFoundation. I found this a while ago; it does everything I need it to do and sounds like it might fix your issue as well!

    https://github.com/nicklockwood/SoundManager

    0 讨论(0)
提交回复
热议问题