NSURLSessionDownloadDelegate is not called intermittently

URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:



https://developer.apple.com/documentation/foundation/nsurlsessiondownloaddelegate/1409408-urlsession?language=objc


If you go back to the home screen and come back to the app, there is a problem that the delegate is not called intermittently, and seems to not download because it can not update ui.


But in fact, the download is complete, what is the solution to this problem?


Replies

I’ve posted a reply in the original thread about this issue.

Share and Enjoy

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

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