let session_config = URLSessionConfiguration.background(withIdentifier: "cxxczuifgdgd")
let session = URLSession(configuration: session_config)
let task=session.downloadTask(with: request) { (url, response, error) in
print("anusha")
}
task.resume()
created a url session for background downloads as above...but app is getting crashed with error...
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)