Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
incrediblezayed committed May 26, 2024
2 parents 0da794e + c9e2590 commit 6f7a3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/Dialog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Dialog:NSObject, UIDocumentPickerDelegate {
self.tempURL = fileURL
var docPicker: UIDocumentPickerViewController?
if #available(iOS 14.0, *) {
docPicker = UIDocumentPickerViewController(forExporting: [fileURL!])
docPicker = UIDocumentPickerViewController(forExporting: [fileURL!], asCopy: true)
} else {
docPicker = UIDocumentPickerViewController(url: fileURL!, in: .exportToService)
}
Expand Down

0 comments on commit 6f7a3e0

Please sign in to comment.