• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
MPMediaItem valueForKey broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MPMediaItem valueForKey broken?


  • Subject: MPMediaItem valueForKey broken?
  • From: Bryan Hansen <email@hidden>
  • Date: Sat, 28 Mar 2009 13:48:19 -0700

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 (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


  • Follow-Ups:
    • [Moderator] Re: MPMediaItem valueForKey broken?
      • From: Scott Anguish <email@hidden>
    • Re: MPMediaItem valueForKey broken?
      • From: Dave DeLong <email@hidden>
  • Prev by Date: [SOLVED] Re: Can NSTrackingArea rects be nested?
  • Next by Date: Re: MPMediaItem valueForKey broken?
  • Previous by thread: Re: [SOLVED] Re: Can NSTrackingArea rects be nested?
  • Next by thread: Re: MPMediaItem valueForKey broken?
  • Index(es):
    • Date
    • Thread