Instance Property


The custom preview image handler block for the item provider.


var previewImageHandler: NSItemProvider.LoadHandler? { get set }


In your image handler block, return an NSURL object that specifies a file, or return an NSData object.

See Also

Generating a Preview Image

func loadPreviewImage(options: [AnyHashable : Any]!, completionHandler: NSItemProvider.CompletionHandler!)

Loads the preview image for the item that is represented by the item provider.