Xcode8 ios10-Webviewer赢得';不加载URL?

Xcode8 ios10-Webviewer赢得';不加载URL?,xcode,ios10,Xcode,Ios10,我正在尝试使用Xcode 8在iOS 10中制作一个Webviewer。但是,它不会加载我试图查看的URL;如果我改变主意 import UIKit class ViewController: UIViewController { @IBOutlet weak var Webview: UIWebView! override func viewDidLoad() { super.viewDidLoad() // Do any addition

我正在尝试使用Xcode 8在iOS 10中制作一个Webviewer。但是,它不会加载我试图查看的URL;如果我改变主意

import UIKit

class ViewController: UIViewController {

    @IBOutlet weak var Webview: UIWebView!

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.

        let url = NSURL(string: "htpps://shoalshousehunter.com")
        let request = NSURLRequest(url: url! as URL)

        Webview.loadRequest(request as URLRequest)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
}