[Moderator] Re: MPMediaItem valueForKey broken?
[Moderator] Re: MPMediaItem valueForKey broken?
- Subject: [Moderator] Re: MPMediaItem valueForKey broken?
- From: Scott Anguish <email@hidden>
- Date: Sat, 28 Mar 2009 18:38:11 -0400
the iPhone 3.0 SDK is under non-disclosure. You can't talk about it
publicly, including this mailing list.
The Apple Developer Forums (http://devforums.apple.com) provide an
appropriate forum for discussing iPhone 3.0 SDK without violating your
agreement.
Scott
[Moderator]
On 28-Mar-09, at 4:48 PM, Bryan Hansen wrote:
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];
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden