Contents

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