how to acces iPhone music library in unity3d?

Hello All,

I am developing game for iPhone with the help of unity3d and i am new to unity3d and i want to access iPhone music library in unity3d.I have found that i have to make plugin for that. But my question is that how can i get that particular song so that i can play in unity3d?

Thanks in advance

Unity does not provide support for playing the iPhone music library. Prime31 does provide a plugin for this functionality. Link to their MediaPlayer API.

I am quite interested in iPhone music libraries and done some researches. I also found a very interesting article about Best 6 Free iPhone Music Apps. What I appreciate most is all the iPhone music libraries are free. As mentioned, Unity itself is not availble for your case, if necessary, you may use other free music management tools for your development. Hope to help you a bit.

I dont believe prime31 works after ios6 but I may be wrong, dont quote me. However I did work out a solution that makes accessing the ios music library as a modal view very simple, only requires dragging and dropping a prefab into the hierarchy.

It supports M4As and playlists. You can get the package here http://partycircl.es/unity-assets/ios-music-library-access or on the asset store. Let me know if you have any questions