Contents

insertCollaborationItemProvider(_:completionHandler:)

Declaration

func insertCollaborationItemProvider(_ itemProvider: NSItemProvider, completionHandler: @escaping (Bool) -> Void)
func insertCollaborationItemProvider(_ itemProvider: NSItemProvider) async -> Bool

Parameters

  • itemProvider:

    Specifying the intended content for collaboration

Discussion

Returns YES if the item provider was added to the composition successfully.

If the return value is YES, the itemProvider was added to the composition. The itemProvider must be non-nil.