Instance Method

showEditor(for:)

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

Declaration

func showEditor(for asset: PHAsset)

Parameters

asset

The asset to edit.

Discussion

To be notified when assets are edited, the extension should observe library changes by implementing the PHPhotoLibraryChangeObserver protocol.

See Also

Updating Assets

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

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