How to use UIWebview in Swift?

0 votes
148 views
asked Feb 6, 2015 in Swift by admin (8,115 points)
Hi All

   How to use UIWebview in Swift?

1 Answer

0 votes
answered Feb 6, 2015 by john (4,220 points)

Hi

    func loadPage(){

       var url:NSURL = NSURL(string: "www.techiespoint.com")!

        let URLRequest:NSURLRequest = NSURLRequest(URL: url)

        webView.loadRequest(URLRequest)

    }

 
...