Instance Method

updatedProjectInfo(from:completion:)

Creates an updated PHProjectInfo instance from existing project information and current assets.

Declaration

func updatedProjectInfo(from existingProjectInfo: PHProjectInfo?, completion: @escaping (PHProjectInfo?) -> Void) -> Progress

Parameters

existingProjectInfo

The project information to update. If this is not nil, a new PHProjectInfo instance is created from all assets in the PHProject.

See Also

Updating Assets

func showEditor(for: PHAsset)

Invokes the built-in photo editor for the given asset.