Closed EpEthan closed 1 year ago
I am aware of the MobileCoreServices.UTType
. I've tried using MobileCoreServices.UTType.CommaSeparatedText
(resolves to "public.comma-separated-values-text"
) as well as MobileCoreServices.UTType.Database
(resolves to "public.database"
) and neither worked. I wrote their plaintext versions to be more comprehensive.
@jfversluis, I would appreciate if you re-open the bug and check it out
Description
I need to import CSV/SQLite3 files in my app. I use
Xamarin.Essentials.FilePicker
and it works perfectly on Android, however when trying it on iOS all the files are greyed-out and I can't select any file.I use the following file types for Android and iOS:
I've also tried adding
text/plain
for picking CSV files on iOS and it didn't work. In addition, I've tried selecting PDF files usingpdf
and it didn't work.StackOverflow Thread
Expected Behavior
File-picking dialog shows relevant files (CSV/SQLite3) not greyed out, and they're clickable.
Actual Behavior
File-picking dialog does not allow to pick any file in iOS.
Basic Information
1.7.3
XCode 14.0
(testing on and iOS 16.0 Simulator)API 31
Screenshots