I'm trying to use the new MPMediaItem class in iPhone SDK 3.0 to
obtain artist and album information. Every time I try to retrieve a
value based on the key constants it crashes telling me that it is not
key complaint for that key (ie "title" or "artist" etc)
NSString *aTitle = [[MPMusicPlayerController
iPodMusicPlayer].nowPlayingItem valueForKey:MPMediaItemPropertyTitle];
Has anyone been able to successfully use this to obtain song info?
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com