hi, i have found many discussions in this forum, that says about the accessibility of Iphone /iPod music library. But its not at all clear for me so i post this, as a request to make it crystal clear whether we can access ipod/iphone music library while in game? If yes pls can any one help me or direct me how to actually get it done.
I don’t think this is possible, but I’ll refer the question to one of Unity’s iPhone developers. You should get an answer shortly.
You can.
Gameloft games let you create a personal playlist of your itunes titles while ingame.
Vans SK8, a Unity game, does this as well.
I believe this is one of the proposed features of Rob’s 1.5 Enhancement Pack, but you could be waiting a long time (see EP thread). :?
You most definitely can. Of course you have to create a Unity Plugin, requiring the Pro version unless you use PlayerPrefs techniques. I created one for a game that lets the player select from their existing playlists, so it’s a bit simpler usage of what can be done (like, the bare minimum).
I created a system like this for a game, and just never got around to using it. I wrote the plugin for iPhone Basic using the PlayerPrefs trick, and used this guide to learn about the Music Player Framework.
so may i ask u somthing which is a doubt in my mind, while calling the playlist using PlayerPrefs, i hope the MPPickerController can be popped up over the unity game view, at the same time wat happens to unity can we pause and resume the play while the player go to select the songs frm the playlist
can u pls help me out in generating one such system, if u can pls can u help me in getting some sample code of that or wich could direct me towards the goal in a faster way.
Hi, i am very much trying to get the thing done using MPMediaPickerController to get the playlist, but i am not able to view the view wich contains the MPMediaPickerController view so pls help me out. Any one…
Hi Pavees,
I’m getting into a similar project. Did you get the player working in Unity?
My task is to create a music player that could be accessed inside Unity.
Hey I published a plugin iOS Music Library Access that enables users to pick and play songs from their device’s music library, playlists and M4As are supported.