I'm trying to find a way to know which app the user has selected when importing/opening a file in the picker.
documentPicker:didPickDocumentAtURL:
gives a UIDocumentPickerViewController
object back. I looked in it but no object has the information needed. In documentMenu:didPickDocumentPicker:
there's an NSExtension object in it which contains information only about an Apple extension ("com.apple.UIKit.fileprovider.default
"), but none about the extension that was actually used to get the file from.
Thank you!