Hey Everyone,
Just putting together an extension to get tracks from your iOS library into AIR as Sound objects inorder to access their SampleData. I haven't seen one around that needed what I wanted so I thought I'd share it with you all.
At the moment you can request the whole library information and it will all be returned in a custom Vector of ILMediaItem's, which have all the properties of the tracks in them. You can then use the ILMediaItem.ipodID to request the track from the native iPod Library and it will physically extract the track file from the library, and copy it to wherever you like, and return the URL once it's copied.
Debug development is available too, so you can run the thing on Desktop while you develop.
Docs are here:
http://audiobrush.com/developer/ipodlibrary/docs/
Extension is here:
http://audiobrush.com/developer/ipodlibrary/IpodLibrary.ane
Let me know if you think there could be some additional features added to it, but it's there for now =).
Hope you like...
O.