I'm trying to download an image from a url in swift. This is the image [url](https://media.wired.com/photos/5f2d7c2191d87e6680b80936/16:9/w_2400,h_1350,c_limit/Science_climatedesk_453801484.jpg) I'm trying to download, and I'm expecting it to download it to On my iPhone > testExampleApplication in the application's documents directory, but when I click the button, nothing downloads. Here's my code:

```
Button("Download logo image") {
      let imageUrlStr = "https://media.wired.com/photos/5f2d7c2191d87e6680b80936/16:9/w_2400,h_1350,c_limit/Science_climatedesk_453801484.jpg".addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!
      let task = URLSession.shared.dataTask(with: URLRequest(url: URL(string: imageUrlStr)!), completionHandler: {(data, response, error) -> Void in
        print("download details 1: \(data)")
        print("download details 2: \(response)")
        print("download details 3: \(error)")
      })
      // Start the download.
      task.resume()
}

```

The Content-type in the 2nd print is image/jpeg and the error print is nil.

Am I doing something wrong in my downloading code?