Created
February 20, 2016 05:32
-
-
Save kennylugo/10994cee3f29c7ae1119 to your computer and use it in GitHub Desktop.
UIwebView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.swift | |
// thirdtableview | |
// | |
// Created by Kenny Batista on 2/19/16. | |
// Copyright © 2016 Kenny Batista. All rights reserved. | |
// | |
import UIKit | |
class ViewController: UIViewController { | |
@IBOutlet weak var webView: UIWebView! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
// Do any additional setup after loading the view, typically from a nib. | |
let url = NSURL(string: "http://www.google.com"); | |
let requestObj = NSURLRequest(URL: url!) | |
webView.loadRequest(requestObj) | |
} | |
override func didReceiveMemoryWarning() { | |
super.didReceiveMemoryWarning() | |
// Dispose of any resources that can be recreated. | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment