Code: Select all
FileRepresentation(exportedContentType: .pdf) { (item: MyItem) in
SentTransferredFile(item.webPDFPathURL)
}
Code: Select all
.fileExporter(isPresented: $exportArchive, item: link, contentTypes: [UTType.webArchive, .pdf]) {
... handle errors etc ...
}

Allerdings bekomme ich unter iOS und iPadOS keine solche Option:

Ist das ein Fehler oder mache ich etwas falsch?