loadFileRepresentation(for:openInPlace:completionHandler:)
Asynchronously writes a copy of the universal type data to a temporary file, returning a progress object.
Declaration
func loadFileRepresentation(for contentType: UTType, openInPlace: Bool = false, completionHandler: @escaping @Sendable (URL?, Bool, (any Error)?) -> Void) -> ProgressSee Also
Loading the provider’s contents
loadItem(forTypeIdentifier:options:completionHandler:)loadDataRepresentation(forTypeIdentifier:completionHandler:)loadDataRepresentation(for:completionHandler:)loadFileRepresentation(forTypeIdentifier:completionHandler:)loadInPlaceFileRepresentation(forTypeIdentifier:completionHandler:)loadObject(ofClass:completionHandler:)loadObject(ofClass:completionHandler:)loadTransferable(type:completionHandler:)