aboutsummaryrefslogtreecommitdiffstats
path: root/Classes/RootViewController.m
diff options
context:
space:
mode:
authorTeddy Wing2012-09-29 14:35:29 -0400
committerTeddy Wing2012-09-29 14:35:29 -0400
commitd02256dc49356e6dc1769cc0fb4737a7f013cbed (patch)
tree89df71bf8c28c8d9cf3251ca005c7b8970a89903 /Classes/RootViewController.m
parentc9ead1e706902fa4caee196e10a52df017d1f687 (diff)
downloadbabblr-iOS-d02256dc49356e6dc1769cc0fb4737a7f013cbed.tar.bz2
Got RootViewController to show a UIWebView containing the sample Google Maps API site.
Diffstat (limited to 'Classes/RootViewController.m')
-rw-r--r--Classes/RootViewController.m10
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.