Created
October 3, 2014 07:25
-
-
Save noppefoxwolf/893917ed1ac0f59777fc to your computer and use it in GitHub Desktop.
iOS8からのArtwork取得注意点 ref: http://qiita.com/noppefoxwolf/items/20637f29242ad368d786
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MPMediaItemArtwork *artwork = [content.mediaItem valueForProperty:MPMediaItemPropertyArtwork]; | |
UIImage *image = [artwork imageWithSize:CGSizeMake(250,250)]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MPMediaItemArtwork *artwork = [content.mediaItem valueForProperty:MPMediaItemPropertyArtwork]; | |
UIImage *image = [artwork imageWithSize:artwork.bounds.size]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment