Skip to content

Instantly share code, notes, and snippets.

@harbhub
Created August 19, 2016 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harbhub/f2e145afc7d3f656651f5988b42c7a27 to your computer and use it in GitHub Desktop.
Save harbhub/f2e145afc7d3f656651f5988b42c7a27 to your computer and use it in GitHub Desktop.
@IBOutlet var webView: UIWebView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
let url = NSURL(string: "https://www.google.com/")
let requestObject = NSURLRequest(URL: url!)
webView.loadRequest(requestObject)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment