diff options
Diffstat (limited to 'Classes/RootViewController.m')
| -rw-r--r-- | Classes/RootViewController.m | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/Classes/RootViewController.m b/Classes/RootViewController.m index 47124a2..053242c 100644 --- a/Classes/RootViewController.m +++ b/Classes/RootViewController.m @@ -13,22 +13,24 @@  @synthesize webView = _webView; - +/*   // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.  - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {      if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) { -        [webView loadHTMLString:@"https://google-developers.appspot.com/maps/documentation/javascript/examples/map-simple" baseURL:[NSURL URLWithString:@""]]; +		      }      return self;  } +*/ -/*  // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.  - (void)viewDidLoad {      [super viewDidLoad]; +	 +	[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://google-developers.appspot.com/maps/documentation/javascript/examples/map-simple"]]];  } -*/ +  /*  // Override to allow orientations other than the default portrait orientation. | 
