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?
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