¡@

Home 

2014/10/15 ¤U¤È 10:11:33

iphone Programming Glossary: mpmediaitempropertyartist

On iPhone: Find out what song is currently playing? (in the iPod music player)

http://stackoverflow.com/questions/1917014/on-iphone-find-out-what-song-is-currently-playing-in-the-ipod-music-player

Is it possible to access iPhone/iPod Touch music stats through the SDK?

http://stackoverflow.com/questions/2083117/is-it-possible-to-access-iphone-ipod-touch-music-stats-through-the-sdk

init query addFilterPredicate MPMediaPropertyPredicate predicateWithValue @ Moribund the Squirrel forProperty MPMediaItemPropertyArtist Sets the grouping type for the media query query setGroupingType MPMediaGroupingAlbum NSArray albums query collections for.. albums MPMediaItem representativeItem album representativeItem NSString artistName representativeItem valueForProperty MPMediaItemPropertyArtist NSString albumName representativeItem valueForProperty MPMediaItemPropertyAlbumTitle NSLog @ @ by @ albumName artistName.. const MPMediaItemPropertyTitle filterable NSString const MPMediaItemPropertyAlbumTitle filterable NSString const MPMediaItemPropertyArtist filterable NSString const MPMediaItemPropertyAlbumArtist filterable NSString const MPMediaItemPropertyGenre filterable..

Get album artwork from MP3 file/ID3 tag

http://stackoverflow.com/questions/4907164/get-album-artwork-from-mp3-file-id3-tag

a sample item enumerateValuesForProperties NSSet setWithObjects MPMediaItemPropertyTitle MPMediaItemPropertyAlbumTitle MPMediaItemPropertyArtist MPMediaItemPropertyArtwork nil usingBlock ^ NSString property id value BOOL stop if property isEqualToString MPMediaItemPropertyTitle.. MPMediaItemPropertyTitle if value titre value else titre @ if property isEqualToString MPMediaItemPropertyArtist if value artist value else artist @ if property isEqualToString MPMediaItemPropertyArtwork MPMediaItemArtwork..

Application crashed while importing songs from Ipod library in Iphone for iOs 5.0

http://stackoverflow.com/questions/8077725/application-crashed-while-importing-songs-from-ipod-library-in-iphone-for-ios-5

MPMediaItemPropertyTitle fileName fileName stringByAppendingString @ stringByAppendingString item valueForProperty MPMediaItemPropertyArtist NSArray fileNameArray nil fileNameArray fileName componentsSeparatedByString @ fileName fileNameArray componentsJoinedByString..

How to set an title of the currently playing audio in iPhone lock screen?

http://stackoverflow.com/questions/8387262/how-to-set-an-title-of-the-currently-playing-audio-in-iphone-lock-screen

MPNowPlayingInfoCenter defaultCenter NSDictionary songInfo NSDictionary dictionaryWithObjectsAndKeys @ Some artist MPMediaItemPropertyArtist @ Some title MPMediaItemPropertyTitle @ Some Album MPMediaItemPropertyAlbumTitle nil center.nowPlayingInfo songInfo ..