-
Re: Upload in background not working on iOS10
eskimo Oct 25, 2016 1:43 AM (in response to CedricSoubrie)iOS has never supported resuming an upload task, at least not in the same way that it supports resuming a download task. The key difference is that the infrastructure for resuming a download is quite standard (QA1761, which explains how to do this yourself using NSURLConnection, discusses the basics), but this is not true for upload tasks.
So, what are the specific symptoms of your upload problems? To start, what error does the task fail with? And what do you see on the wire? An on-the-wire comparison between iOS 9 and 10 would be interesting.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
Re: Upload in background not working on iOS10
CedricSoubrie Oct 25, 2016 3:34 AM (in response to eskimo)So, what are the specific symptoms of your upload problems?
On iOS9, if I disactivate network connection and then activate it back, the upload was resuming. On iOS10 nothing happens.
To start, what error does the task fail with? And what do you see on the wire? An on-the-wire comparison between iOS 9 and 10 would be interesting.
I don't have any error. The upload is just not starting back. What should I use to make a on-the-wire comparison ?
-