I never get this before, What is the meaning of this error message in Swift:
No exact matches in call to instance method 'dataTask(with:completionHandler:)'
Here is my code block:
var request: NSMutableURLRequest? = nil
let task = URLSession.shared.dataTask(
with: request,
completionHandler: { data, response, error in
DispatchQueue.main.async(execute: {
/// ...
})
})
task.resume()
Bug Report
Reported via feedbackassistant.apple.com: FB7717686