image
TypeScriptimage(size: { width: number; height: number }): (_UIKit_UIImage) | nullSwift declarationfunc image(at size: CGSize) -> UIImage?class · iOS 3.0+ · SDK 27.1
class MPMediaItemArtworkimage(size: { width: number; height: number }): (_UIKit_UIImage) | nullSwift declarationfunc image(at size: CGSize) -> UIImage?static init(image: _UIKit_UIImage): MPMediaItemArtworkSwift declarationconvenience init(image: UIImage)get bounds(): { x: number; y: number; width: number; height: number }Swift declarationvar bounds: CGRect { get }get imageCropRect(): { x: number; y: number; width: number; height: number }Swift declarationvar imageCropRect: CGRect { get }2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPMediaItemArtwork.init(boundsSize:requestHandler:)
callback cannot propagate synchronous failure
MPMediaItemArtwork.init()
inherited init: cannot prove legal (class declares 2 custom initializers)