Playing music from the IOS library in cocos-2dx

Discussion in 'Public Game Developers Forum' started by justking14, Jun 28, 2015.

  1. justking14

    justking14 Member

    Sep 8, 2014
    24
    0
    0
    I'm seriously stuck. I've been developing an app for my boss for the last few months in cocos-2dx. For this project I need to be able to select and play any music from the users IOS library. I've got it to work using MPMediaPickerController which gives me access to all the music's data, but I need to play it in the C++ file with SimpleAudioEngine to make it work with the rest of my code. Any way to make this work?
     

Share This Page