I am able to load up an external URL in a UIWebView like so:
let url = NSURL(string: "http://www.google.com")
let request = NSURLRequest(URL: url)
webView.loadRequest(request)
but how do I load a local html file?
The answer in this solution looked promising but Xcode says NSString.stringWithContentsOfFile() is deprecated.