Apple has deprecated init(image:)
method in MPMediaItemArtwork
in iOS 10.
What is the new alternative.
the class shows interface shows method below to be available in the new OS version
public init(boundsSize: CGSize, requestHandler: @escaping (CGSize) -> UIImage)
Anyone know how to use it?
Also question 2, part of the previous question: Does showing now playing metadata on the lock-screen and control-center using MPNowPlayingInfoCenter
work in the simulator?