MPMediaItemArtwork object, or media item artwork, represents a graphical image, such as music album cover art, associated with a media item. Media items are described in MPMediaItem Class Reference.
Creates and returns a
UIImageobject of a specified size.
The size, in points, for the new
The returned image is the smallest available image that is at least as large as the requested size.
Available in iOS 3.0 and later.
Initializes a media item artwork instance with a full-size image.
- (instancetype)initWithImage:(UIImage *)
The image to use to initialize the media item artwork instance.
This method assumes that the crop rectangle of the image matches the bounds of the image, as defined by the image’s size in points. That is, this method assumes the image you supply is tightly cropped.
Available in iOS 5.0 and later.