URLSession.shared.downloadTask doesn't work apple watch. I monitored network traffic but it doesn't. have any activity. Data(contentsOf: URL(string: url)!) works perfectly. Also, it works perfectly in preview. What do i do? Ask for more context if necessary.
URLSession.shared.downloadTask doesn't work apple watch (Xcode Sim)
If you put your download code into a new test project, does it reproduce the issue? If so, try replace the download task with a data task. Does it have the same problem?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"