Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check 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
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
Brendan D.
9 years agoExplorer | Level 4
Answering my own question, it seems that first launching the Files app and viewing the Dropbox --- Personal folder there solves the problem for other apps. No longer disabled after doing that. Two customers of mine confirmed that was the case. Each of them though it was a bug in my app though.
- CC_JF9 years ago
Dropbox Staff
Hey there — Dropbox iOS dev here. Thanks for following up.
I‘m somewhat surprised that UIDocumentPickerVC had Dropbox grayed out — we’ve never seen that in testing. If you hear this from one of your users again, could you ask them if they had ever opened Files.app directly before? There’s some issues with Domains (a concept that allows for multiple containers per app like accounts) and Files with respect to how it handles state changes. We’re pretty sure this will be fixed in either a future iOS update or if we can find a better workaround.
Thanks again, and sorry for the inconvenience!
Jeff- David M.3019 years agoExplorer | Level 3
This has happened to many of my users and it happened to me after I installed iOS 11. I am getting one star reviews for it as well.
- Brendan D.9 years agoExplorer | Level 4
Thanks for the reply Jeff.
It was one of my customers who noticed that it began to work after they launched the Files app first. At least there's something I can tell my customers now.
- David M.3019 years agoExplorer | Level 3
Yes, I shoud have mentioned that once the Files app is opened it works for me too.
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!