mirror of
https://github.com/SideStore/SideStore.git
synced 2026-06-15 04:54:51 +02:00
Show file extensions to help user choose file
This commit is contained in:
committed by
Joseph Mattello
parent
ef1c6062f2
commit
d94ba84934
@@ -86,6 +86,7 @@ class LaunchViewController: RSTLaunchViewController, UIDocumentPickerDelegate
|
||||
types.append(contentsOf: UTType.types(tag: "mobiledevicepairing", tagClass: UTTagClass.filenameExtension, conformingTo: UTType.data))
|
||||
types.append(.xml)
|
||||
let documentPickerController = UIDocumentPickerViewController(forOpeningContentTypes: types)
|
||||
documentPickerController.shouldShowFileExtensions = true
|
||||
documentPickerController.delegate = self
|
||||
self.present(documentPickerController, animated: true, completion: nil)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user