PESDK class is the main entry point for opening the editor and lets you open the editor with the callable static function
PESDK.openEditor as shown in this example.
Open the editor#
In order to load an image into the editor simply specify it as the named
image parameter inside the asynchronous
PESDK.openEditor function. In this example, we load a photo from the bundle into the editor.
Once the editor finishes, a
PhotoEditorResult is returned which contains the edited image at
PhotoEditorResult.image. If no result is returned, the user has canceled the editing process by clicking the cancel button inside the editor.