iOS Multiple file uploading to server using NSURLSessionTask

We would like to upload lots of files to server. for instance, the user taken images more than 50 when not reachable on network and hit send button. Then i should upload them when reachable on network. iOS doesn't allows to add session task with large size post request when not reachable on network. I've tried with the chained tasks. but it takes too long time to wake up next task when suspended state. So we've used background audio mode for maintain active state until sent. Can you please guide for a proper solution?

Replies

The best option here to dump all 50 upload tasks into an NSURLSession background session. The system will then schedule the uploads its is discretion.

Also, you’ll probably want to read:

These are all ‘pinned’ on the right side of the Core OS > Networking topic area.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"