Apple has deprecated init(image:) method in MPMediaItemArtwork in iOS 10. What is the new alternative.
init(image:)
MPMediaItemArtwork
the class shows interface shows method
Minimum code:
MPMediaItemArtwork(boundsSize: image.size) { _ in image }