We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
rmaddy
9 years agoExplorer | Level 3
iOS, UIDocumentPickerViewController export, and Dropbox 38.2.2/38.3.4
My iOS app uses UIDocumentPickerViewController to export files from my app to a user's Dropbox account. This has been working just fine. It worked for me just a short time ago with an older version o...
- 9 years agoThanks! We'll look into it.
Brendan D.
9 years agoExplorer | Level 4
Excellent! I can also confirm this issue is fixed.
Brendan D.
9 years agoExplorer | Level 4
Have you noticed that in iOS 11, sometimes the Dropbox --- Personal item is disabled and you can't upload a file to Dropbox? I don't see that myself on my devices, but I have had a few customers tell me they can't use the upload function to upload a file to Dropbox. It works for other cloud storage services such as iCloud Drive and OneDrive.
Here's the simple code I use to present the controller to the user:
UIDocumentPickerViewController *pickerViewController = [[UIDocumentPickerViewController alloc] initWithURL:[NSURL fileURLWithPath:self.selectedFilePath] inMode:UIDocumentPickerModeExportToService]; pickerViewController.delegate = self; [self presentViewController:pickerViewController animated:YES completion:nil]; UIPopoverPresentationController *popoverController = pickerViewController.popoverPresentationController; pickerViewController.modalPresentationStyle = UIModalPresentationPopover; popoverController.barButtonItem = sender;
If you think I'm doing something wrong, I'd love to know.
Thanks!
Brendan
About 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.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
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!