Need to see if your shared folder is taking up space on your dropbox đšâđ»? Find out how to check here.
Forum Discussion
Christian T.16
10 years agoNew member | Level 1
Swifty dropbox download file complete?
Hi,
How can I determine when the file I'm downloading is complete? Is there a callback or something?
I'm using the Swifty dropbox API to download a video file (provided by the tutorial...)
clie...
Greg-DB
Dropbox Community Moderator
10 years agoIf you're referring to a delay before the callback is called, that's expected because the file has to be downloaded from the Dropbox API servers over the network.
If you're referring to a delay when calling NSData.contentsOfURL, that also seems reasonable, since the entire (possibly large) file is being loaded from disk into memory.
If you mean to play the downloaded video in a media player, you should pass the file URL to the media player instead of loading the raw data into memory and printing it.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!