cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Whether you are transferring a single drive, a team or an entire organization, Movebot's cloud migration tool has been built to make your Dropbox migration simple - learn all about it here.

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

jelteliekens
Explorer | Level 3

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

 

1 Accepted Solution

Accepted Solutions

Re: iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

Maple
Dropboxer
Hi jelteliekens,

This will be fixed/implemented once iOS 11 is official released.

------------------------------
iOS Engineer @ Dropbox

View solution in original post

26 Replies 26

Re: iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

Maple
Dropboxer
Hi jelteliekens,

This will be fixed/implemented once iOS 11 is official released.

------------------------------
iOS Engineer @ Dropbox

Re: iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

DaveZ
Explorer | Level 4

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

Re: iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

Maple
Dropboxer
Hi DaveZ,

We are targeting the official iOS 11 release on the 19th so it won't be available before then. Sorry about the inconvenience. I recommend not upgrading until the iOS 11 release is official.

------------------------------
iOS Engineer @ Dropbox

Re: iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

DaveZ
Explorer | Level 4
Thanks for the update.

Re: iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

JaceLightning
New member | Level 2
iOS 11 was officially released on September 12th and this is still broken 😞

Re: iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

Jurgis K.
Explorer | Level 4

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.

Re: iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

Maple
Dropboxer
Hi DaveZ, JaceLightning and Jurgis K.,

Thank you for writing in. I understand the frustration when using the iOS 11 beta with our app. I will pass your messages to our team.

The iOS 11 official release is expected on Sept 19 (tomorrow). The next version of Dropbox iOS will contain Files app support so be on the lookout for a new update in the next few days.

------------------------------
iOS Engineer @ Dropbox

Re: iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

domhof
Explorer | Level 3

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!!

Re: iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

Maple
Dropboxer

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!


------------------------------
iOS Engineer @ Dropbox
Who's talking

Top contributors to this post

  • User avatar
    kymatica New member | Level 2
  • User avatar
    domhof Explorer | Level 3
  • User avatar
    Maple Dropboxer
What do Dropbox user levels mean?
Need more support?