Hi,
I'm using UIDocumentMenuViewController to display a selection of cloud storage services. Then I'm displaying the UIDocumentPickerViewController for the service selected with the following code:
- (void)documentMenu:(UIDocumentMenuViewController *)documentMenu didPickDocumentPicker:(UIDocumentPickerViewController *)documentPicker {
documentPicker.delegate = self;
[self presentViewController:documentPicker
animated:YES
completion:nil];
}
The problem I'm having is that when I select a file to download from my Dropbox account, the Downloading progress indicator alert is displayed with a Cancel button, but the progress bar either doesn't display or it displays only a few pixels worth and just sits there.
Eventually I get an error that says:
"Couldn't Download File, No Internet connection or couldn't contact Dropbox servers."
The strange thing is that for a file that I was trying to download, this message appears immediately when I tap on it. But if I choose a different file that I hadn't tried to download before, then it sits there on the Downloading alert and eventually gives the same error as above.
It seems to be mostly a problem with larger files though, although smaller files take much longer to download than they should. Is there a file size limit for downloads? A 13 MB file took about 5 minutes to download. I have a 150 mbps Internet connection. In fact I just did a SpeedTest.net test and I got 176 mbps. So it's not from a slow Internet connection.
I just tried downloading a 26.5 MB file and the progress bar got about 2/3 of the way across (after more than 5 minutes) and I got the Internet Connection error.
Is there any throttling going on when downloading from Dropbox using UIDocumentPickerViewController?
Is there a way to debug the Dropbox extension that provides the UIDocumentPickerViewController to our apps? I looked in the Network debug console, but nothing is happening there during a download. I'm guessing the download process happens outside of my app's process.
Or is this just a case of having to wait for a newer Dropbox version to correct this problem?
Thanks,
Brendan