Instance Method

setProjectPreviewImage(_:)

Updates the project preview in Photos.

Declaration

func setProjectPreviewImage(_ previewImage: NSImage)

Parameters

previewImage

A rendered project preview with dimensions of 1024 x 1024.

Discussion

PhotoKit requires that you set a project preview in the following situations:

See Also

Responding to Change Requests

func setKeyAsset(PHAsset?)

Sets the key asset representing the project.

Deprecated