• 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
[Moderator] Re: MPMediaItem valueForKey broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


References: 
 >MPMediaItem valueForKey broken? (From: Bryan Hansen <email@hidden>)

  • Prev by Date: Safari Cookie whitelist plugin (Help)
  • Next by Date: Re: NSSound needs a run loop cycle to repeat-play a sound?
  • Previous by thread: Re: MPMediaItem valueForKey broken?
  • Next by thread: Import/Convert non-CoreData SQLite database to CoreData SQLite database
  • Index(es):
    • Date
    • Thread