I have a problem with a single app in Swift 2.0 iOS 9.2. This is the part of code:
@IBOutlet weak var web: UIWebView!
@IBAction func enviar(sender: UIButton){
let link = "https://www.cronicasmadeincoatza.com"
let myURL = NSURL(string: link )
let request = NSURLRequest (URL: myURL!)
text.text = "\(myURL!)"
web.loadRequest(request)
}
It only shows on a web view outlet but I have an error and I don't know why this is the error:
2016-01-07 13:11:00.934 webservice2[8547:457597] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)