Hi I have just done a conversion to Swift 3.0 and have had quite a few errors returned. The first one is:
Ambiguous reference to member \'dataTask(with:co
try something like this
guard let requestUrl = URL(string:yourUrlString) else { return } let request = URLRequest(url:requestUrl) let task = session.dataTask(with: request) { (data, response, error) in if error == nil { //JSONSerialization } }