I need to put web browser into my ios app (I use Swift). How can I add that? Thanks!
@IBOutlet weak var webView: UIWebView
Instantiate a NSURLRequest, with a NSURL object set with the right url as string, and finally assign this NSURLRequest to the webview by calling loadRequest:
let requestURL = NSURL(string:url)
let request = NSURLRequest(URL: requestURL!)