Hi all.
I have a question about the DocumentPicker.
Is it possible to show only PDF files? The problem is that in the user's phone might be PDF, Word, Excel files. And the user can mistakenly select a wrong file.
If I use
DocumentPicker.InitializeImport("picker", Array("public.content"))
it shows all file types.
I tried to use this
DocumentPicker.InitializeImport("picker", Array("UTType.pdf"))
- I see all the files but all of them are grey out.
Thanks.