From d2847373a07fd322cfcd01eae4722c9f92958d9f Mon Sep 17 00:00:00 2001 From: Jonathan Lipps Date: Tue, 5 Feb 2013 02:55:29 -0800 Subject: [PATCH] update webview app --- .gitignore | 1 + .../apps/WebViewApp/WebViewApp.xcodeproj/project.pbxproj | 4 ++-- sample-code/apps/WebViewApp/WebViewApp/ViewController.m | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fb9c55d4b..79304abe8 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules *.trace xcuserdata sample-code/apps/TestApp/build +sample-code/apps/WebViewApp/build *.sublime-* sample-code/apps/UICatalog* sample-code/examples/php/composer.lock diff --git a/sample-code/apps/WebViewApp/WebViewApp.xcodeproj/project.pbxproj b/sample-code/apps/WebViewApp/WebViewApp.xcodeproj/project.pbxproj index abc4e8786..e0289b576 100644 --- a/sample-code/apps/WebViewApp/WebViewApp.xcodeproj/project.pbxproj +++ b/sample-code/apps/WebViewApp/WebViewApp.xcodeproj/project.pbxproj @@ -241,7 +241,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 6.1; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; }; name = Debug; }; @@ -266,7 +266,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 6.1; OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; VALIDATE_PRODUCT = YES; }; name = Release; diff --git a/sample-code/apps/WebViewApp/WebViewApp/ViewController.m b/sample-code/apps/WebViewApp/WebViewApp/ViewController.m index 73fc49149..4340c78a3 100644 --- a/sample-code/apps/WebViewApp/WebViewApp/ViewController.m +++ b/sample-code/apps/WebViewApp/WebViewApp/ViewController.m @@ -20,6 +20,7 @@ self.urlField.delegate = self; // Do any additional setup after loading the view, typically from a nib. [self.mainWebView loadRequest:[NSURLRequest requestWithURL: [NSURL URLWithString: @"http://saucelabs.com/test/guinea-pig"]]]; + self.urlField.text = @"http://saucelabs.com/test/guinea-pig"; } - (void)didReceiveMemoryWarning