Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.

Forum Discussion

jelteliekens's avatar
jelteliekens
Explorer | Level 3
8 years ago

iOS11 UIDocumentPickerViewController does nothing after selecting an attachement

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 jelteliekens,

    This will be fixed/implemented once iOS 11 is official released.
  • Maple's avatar
    Maple
    Icon for Dropbox Staff rankDropbox Staff
    Hi jelteliekens,

    This will be fixed/implemented once iOS 11 is official released.
    • DaveZ's avatar
      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

      • Maple's avatar
        Maple
        Icon for Dropbox Staff rankDropbox Staff
        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.