cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Musicians, convert your MuseScore files to PDF to play music on the go! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to upload when app enter background in ios

How to upload when app enter background in ios

Hongliang
Explorer | Level 3

I tried the upload request with the simpler one and the batch upload, and I found that when app enter the background, the upload work will stop and loss some data. So how to upload files when the app enter the background?

 

1 Reply 1

chirstius
Dropbox Staff

Hello @Hongliang,

 

This isn't really a Dropbox API specific question, it's more related to iOS task scheduling. I can't give you a direct answer here as that's outside of the scope of what we support in these forums, but I'd suggest you look into background task scheduling on iOS, for example:

 

https://developer.apple.com/documentation/foundation/nsbackgroundactivityscheduler

 

And see if you can't find a way to solve your problem that way. Best of luck!

 

-Chuck

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    chirstius Dropbox Staff
What do Dropbox user levels mean?