data(contentType:)
Requests an IntentFile representation as binary data of the requested content type if possible.
Declaration
func data(contentType: UTType) async throws -> DataParameters
- contentType:
A content type of the returned data.
Discussion
If the IntentFile is backed by a file URL, this might cause loading the entire file contents into memory.