I have mp3 files stored on the iPhone and I my application should to be able to read the ID3 information, i.e length in seconds, artist, etc.
Does anyone know how to do this or what library to use in Objective-C?
Your thoughts are much appreciated.
ID3 information can be read retrieving the
kAudioFilePropertyInfoDictionaryproperty of an audio file using theAudioFileGetPropertyfunction of the AudioToolbox framework.A detailed explanation is available at iphonedevbook.com
edit: Original link is now down. InformIT has some similar sample code, but it’s not as complete.