Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
We're currenty testing an app for iOS11 support and bumped into a problem with the new UIDocumentPickerViewController. An action opens the new UIDocumentPickerViewController, iCloud Drive is shown by default, we're tapping on the Locations button and switch to Dropbox. When selecting an attachement, the viewcontroller is dismisses but nothing is happening. When selecting an attacthement from iCloud Drive things work just fine.
While debugging we found out the delegate method is not called and following message is shown in the console output.
[UIDocumentLog] UIDocumentPickerViewController : didPickDocumentURLs called with nil or 0 URLS
Does someone else has this problem too? If yes, what's your solution. It would be nice to see this fixed before iOS11 is released.
Thanks in advance.
Kind regards
Hi Maple
Can you please fix this before the official iOS 11 release? There is an iOS 11 GM seed available already.
This is a pretty scary bug as a lot of the users of my app (20k+) rely on import from Dropbox via the UIDocumentPickerViewController and this will stop working as soon as they upgrade. I've already got a few complaints from the people on iOS 11 beta.
Kind regards
David
Maybe you can share with your collegues that this decision (postpone fix for aforementioned problem until official release date) really hurts developers as number our ordinary users enroll for public betas long before official iOS11 release.
Hi Maple,
I'm sorry this might be a bit off-topic: Have you found a fix for this in your UIDocumentPickerExtensionViewController? I'm updating an app which has a working UIDocumentPickerExtensionViewController for iOS 10 but in iOS 11 I get the exact same error message in the client-app's console.
[UIDocumentLog] UIDocumentPickerViewController : didPickDocumentURLs called with nil or 0 URLS
Thank you!!
Hi domhof,
I didn't work on this feature so I asked the people who did for you. They said Apple 'broke' doc picker in iOS 11 (or maybe it is deprecated/no longer supported), and it will not work unless you implement file provider. We have not released our file provider extension yet so that's why users see this issue.
As an update, the release with our file provider is still in review. Sorry for the delay. We really want this out too!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!