skip to Main Content

Upload file error handling using URLSessionConfiguration.background and uploadTask – Ios swift

I am using URLSessionConfiguration.background and uploadTask to upload a file from an iOS app. The upload session is configured in the following way: let configuration = URLSessionConfiguration.background(withIdentifier: "com.mycompany.myapp.fileUploader") configuration.isDiscretionary = false configuration.allowsCellularAccess = true uploadURLSession = URLSession(configuration: configuration, delegate: self,…

VIEW QUESTION
Back To Top
Search