Assuming you want to distribute your application through the AppStore, this is
- It is not possible to access the iPod library through file system calls, since iOS applications are sandboxed (this means that you cannot directly write the file to the iTunes library on the device, only to record files in your application space)
- no iPod api can provide this function for you, it only allows you to read the library, not write to it.
If you plan to use jailbroken devices, you can use the libipodimport library.
source share