If I try to upload a file with really bad network connection, the dataTaskWithRequest fails with the following error:
The error is ingored and calls the completeCallback and therefore my app thinks the file has been uploaded although it has failed. I think the errorCallback should be called in this case.
If I try to upload a file with really bad network connection, the
dataTaskWithRequest
fails with the following error:The error is ingored and calls the
completeCallback
and therefore my app thinks the file has been uploaded although it has failed. I think theerrorCallback
should be called in this case.