// // ViewController.swift // Google Chart Bar Chart // // Created by pgAgent on 7/02/2015. // Copyright (c) 2015 RJM Programming. All rights reserved. // import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. let myWebView:UIWebView = UIWebView(frame: CGRectMake(0, 0, UIScreen.mainScreen().bounds.width, UIScreen.mainScreen().bounds.height)) myWebView.loadRequest(NSURLRequest(URL: NSURL(string: "http://www.rjmprogramming.com.au/PHP/BarChart/bar_chart.php?WebView=justmenuWebView")!)) self.view.addSubview(myWebView) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } }