NSURLConnectionDownloadDelegate methods not getting called when downloading files over 50 MB via cellular

275 Views Asked by At

Supposing I have a snippet of code like this:

[assetDownload downloadWithDelegate:self];

All the three delegate methods are implemented:

– connection:didWriteData:totalBytesWritten:expectedTotalBytes:
– connectionDidResumeDownloading:totalBytesWritten:expectedTotalBytes:
– connectionDidFinishDownloading:destinationURL:

And everything works (the delegate methods get called) fine when there is a WI-FI connection for files of any size, and for files under 50 MB when on cellular network. When the file is bigger and the connection is cellularnone of the methods get called. Is this a normal behavior and what should I do to handle it properly?

0

There are 0 best solutions below