How can we load our own html file into the UIWebView?
Swift
guard let path = NSBundle.mainBundle().pathForResource("index", ofType: "html") else { return } let url = NSURL(fileURLWithPath: path) self.webview.loadRequest(NSURLRequest(URL:url))