Swift: How to catch disk full error on background URLSession.downloadTask?
问题 I'm struggling to understand what I thought would be easy. I have a URLSession.downloadTask. I have set my downloading object as the URLSession delegate and the following delegate methods do receive calls, so I know my delegate is set correctly. func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) func urlSession(_ session: URLSession, downloadTask: