I'm using the iOS 8 Document Picker in my iOS app.
I pass in an array of supported filetypes via the initializer:
All the other document pickers filter out unspecified document types and only show the ones specified by the Document Types parameter. The following pickers have been tested and work according to the API documentation:
iCloud & Google Drive
However, the Dropbox picker shows all files no matter what supported types I specify.
Apologies for the delay. I'm looking into this and will follow up once I have some more information.
I also have this problem. I need to show the user ONLY .zip files and I'm getting all files instead. It's like the document types being sent to the UIDocumentMenuViewController aren't being passed along to the UIDocumentPickerViewController after you select a service.
An update would be great to solve this problem.
Quick update, we've confirmed this is a bug in the app. I don't have a timeline for a fix right now though.
Thanks for the confirmation. So when the app gets updated then this will just work for my customers? In the mean time I've put in a file type check that I do after the user has downloaded the file to tell them if it's the right file type or not. Not very elegant, but it works.
Further to this, is it possible to restrict the Dropbox folder that's initially displayed via the UIDocumentPickerViewController? Like say if I want to show the contents of a subfolder instead of the root folder.
I believe once an updated version of the Dropbox app with a fix for this issue is released, this will work as expected without any update required from the calling side.
Also, I don't think it's possible to specify the folder to display, as I don't see a way to specify this in UIDocumentMenuViewController itself.
Hi all, thanks for your patience and apologies for the lack of updates on this thread. I just checked on this and I believe this should be fixed in the next version of the iOS app.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.Sound good? Let's get started.