In swift
I can load a webView by doing the following:
1 - Add UIWebView to my View.
2 - I create an Outlet called webView in my viewcontroller.swift
3 - I enter the following code in my function viewDidLoad
let url = NSURL (string: "http://pt.stackoverflow.com");
let requestObj = NSURLRequest(URL: url!);
myWebView.loadRequest(requestObj);
It turns out that in this loadRequest I'm already calling my webView and it works, however I do not know how I can add a loading image to not leave that screen blank.