URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:
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?