FUIAddPhotoAttachmentActionDelegate

public protocol FUIAddPhotoAttachmentActionDelegate : class

The delegate protocol for FUIAddPhotoAttachmentAction.

  • This function is invoked when a photo is selected from a photo picker.

    Important

    URL’s with scheme: assets-library refer to assets in the user’s Photos library. These assets may be deleted by the User, or cleaned-up by the library. Use the PHAssets API’s to access the image data directly, and create a persistent copy of the file, if one is needed.

    Declaration

    Swift

    func addPhotoAttachmentAction(_ action: FUIAddPhotoAttachmentAction, didSelectPhotoAt url: URL)

    Parameters

    action

    The FUIAddPhotoAttachmentAction object.

    file

    A file wrapper reference for the selected photo.