loadDataRepresentation(for:completionHandler:)
Asynchronously copies the universal type data into a generic data object, returning a progress object.
Declaration
func loadDataRepresentation(for contentType: UTType, completionHandler: @escaping @Sendable (Data?, (any Error)?) -> Void) -> ProgressSee Also
Loading the provider’s contents
loadItem(forTypeIdentifier:options:completionHandler:)loadDataRepresentation(forTypeIdentifier:completionHandler:)loadFileRepresentation(forTypeIdentifier:completionHandler:)loadFileRepresentation(for:openInPlace:completionHandler:)loadInPlaceFileRepresentation(forTypeIdentifier:completionHandler:)loadObject(ofClass:completionHandler:)loadObject(ofClass:completionHandler:)loadTransferable(type:completionHandler:)