├── UIWebViewTest ├── en.lproj │ ├── InfoPlist.strings │ └── ViewController.xib ├── ViewController.h ├── UIWebViewTest-Prefix.pch ├── main.m ├── AppDelegate.h ├── index.html ├── UIWebViewTest-Info.plist ├── ViewController.m └── AppDelegate.m ├── UIWebViewTestTests ├── en.lproj │ └── InfoPlist.strings ├── UIWebViewTestTests.h ├── UIWebViewTestTests.m └── UIWebViewTestTests-Info.plist ├── UIWebViewTest.xcodeproj ├── xcuserdata │ └── tangqiao.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints.xcbkptlist │ │ └── xcschemes │ │ ├── xcschememanagement.plist │ │ └── UIWebViewTest.xcscheme ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── tangqiao.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── project.pbxproj └── .gitignore /UIWebViewTest/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /UIWebViewTestTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /UIWebViewTest.xcodeproj/xcuserdata/tangqiao.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /UIWebViewTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /UIWebViewTest.xcodeproj/project.xcworkspace/xcuserdata/tangqiao.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangqiaoboy/UIWebViewSample/HEAD/UIWebViewTest.xcodeproj/project.xcworkspace/xcuserdata/tangqiao.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /YNote.xcodeproj/project.xcworkspace/ 2 | /YNote.xcodeproj/xcuserdata/ 3 | review.sh 4 | .DS_Store 5 | /build 6 | *.xcuserstate 7 | project.xcworkspace 8 | xcuserdata 9 | UserInterfaceState.xcuserstate 10 | project.xcworkspace/ 11 | xcuserdata/ 12 | UserInterface.xcuserstate 13 | -------------------------------------------------------------------------------- /UIWebViewTestTests/UIWebViewTestTests.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIWebViewTestTests.h 3 | // UIWebViewTestTests 4 | // 5 | // Created by Tang Qiao on 12-4-10. 6 | // Copyright (c) 2012年 Netease. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIWebViewTestTests : SenTestCase 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /UIWebViewTest/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // UIWebViewTest 4 | // 5 | // Created by Tang Qiao on 12-4-10. 6 | // Copyright (c) 2012年 Netease. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | @property (retain, nonatomic) IBOutlet UIWebView *webView; 14 | @end 15 | -------------------------------------------------------------------------------- /UIWebViewTest/UIWebViewTest-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'UIWebViewTest' target in the 'UIWebViewTest' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /UIWebViewTest/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // UIWebViewTest 4 | // 5 | // Created by Tang Qiao on 12-4-10. 6 | // Copyright (c) 2012年 Netease. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /UIWebViewTest/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // UIWebViewTest 4 | // 5 | // Created by Tang Qiao on 12-4-10. 6 | // Copyright (c) 2012年 Netease. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class ViewController; 12 | 13 | @interface AppDelegate : UIResponder 14 | 15 | @property (strong, nonatomic) UIWindow *window; 16 | 17 | @property (strong, nonatomic) ViewController *viewController; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /UIWebViewTestTests/UIWebViewTestTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIWebViewTestTests.m 3 | // UIWebViewTestTests 4 | // 5 | // Created by Tang Qiao on 12-4-10. 6 | // Copyright (c) 2012年 Netease. All rights reserved. 7 | // 8 | 9 | #import "UIWebViewTestTests.h" 10 | 11 | @implementation UIWebViewTestTests 12 | 13 | - (void)setUp 14 | { 15 | [super setUp]; 16 | 17 | // Set-up code here. 18 | } 19 | 20 | - (void)tearDown 21 | { 22 | // Tear-down code here. 23 | 24 | [super tearDown]; 25 | } 26 | 27 | - (void)testExample 28 | { 29 | STFail(@"Unit tests are not implemented yet in UIWebViewTestTests"); 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /UIWebViewTest.xcodeproj/xcuserdata/tangqiao.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | UIWebViewTest.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 45AB03981533D94F00E0D611 16 | 17 | primary 18 | 19 | 20 | 45AB03B91533D94F00E0D611 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /UIWebViewTestTests/UIWebViewTestTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.youdao.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /UIWebViewTest/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 23 | 24 | 25 | 26 |

这是一段内容

27 | 28 | 29 | -------------------------------------------------------------------------------- /UIWebViewTest/UIWebViewTest-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFiles 12 | 13 | CFBundleIdentifier 14 | com.youdao.${PRODUCT_NAME:rfc1034identifier} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | 1.0 27 | LSRequiresIPhoneOS 28 | 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations~ipad 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationPortraitUpsideDown 37 | UIInterfaceOrientationLandscapeLeft 38 | UIInterfaceOrientationLandscapeRight 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /UIWebViewTest/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // UIWebViewTest 4 | // 5 | // Created by Tang Qiao on 12-4-10. 6 | // Copyright (c) 2012年 Netease. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @implementation ViewController 12 | @synthesize webView; 13 | 14 | - (void)didReceiveMemoryWarning 15 | { 16 | [super didReceiveMemoryWarning]; 17 | // Release any cached data, images, etc that aren't in use. 18 | } 19 | 20 | #pragma mark - View lifecycle 21 | 22 | - (void)viewDidLoad 23 | { 24 | [super viewDidLoad]; 25 | // Do any additional setup after loading the view, typically from a nib. 26 | NSString * path = [[NSBundle mainBundle] bundlePath]; 27 | NSURL * baseURL = [NSURL fileURLWithPath:path]; 28 | NSString * htmlFile = [[NSBundle mainBundle] pathForResource:@"index" ofType:@"html"]; 29 | NSString * htmlString = [NSString stringWithContentsOfFile:htmlFile encoding:(NSUTF8StringEncoding) error:nil]; 30 | [self.webView loadHTMLString:htmlString baseURL:baseURL]; 31 | } 32 | 33 | - (void)viewDidUnload 34 | { 35 | [self setWebView:nil]; 36 | [super viewDidUnload]; 37 | // Release any retained subviews of the main view. 38 | // e.g. self.myOutlet = nil; 39 | 40 | } 41 | 42 | - (void)viewWillAppear:(BOOL)animated 43 | { 44 | [super viewWillAppear:animated]; 45 | } 46 | 47 | - (void)viewDidAppear:(BOOL)animated 48 | { 49 | [super viewDidAppear:animated]; 50 | } 51 | 52 | - (void)viewWillDisappear:(BOOL)animated 53 | { 54 | [super viewWillDisappear:animated]; 55 | } 56 | 57 | - (void)viewDidDisappear:(BOOL)animated 58 | { 59 | [super viewDidDisappear:animated]; 60 | } 61 | 62 | - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 63 | { 64 | // Return YES for supported orientations 65 | return YES; 66 | } 67 | 68 | - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType { 69 | NSURL * url = [request URL]; 70 | if ([[url scheme] isEqualToString:@"youdao"]) { 71 | UIAlertView * alertView = [[[UIAlertView alloc] initWithTitle:@"test" message:[url absoluteString] delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] autorelease]; 72 | [alertView show]; 73 | return NO; 74 | } 75 | 76 | return YES; 77 | } 78 | 79 | - (IBAction)addContent:(id)sender { 80 | NSString * js = @" var p = document.createElement('p'); p.innerText = 'new Line';document.body.appendChild(p);"; 81 | [self.webView stringByEvaluatingJavaScriptFromString:js]; 82 | } 83 | 84 | 85 | - (void)dealloc { 86 | [webView release]; 87 | [super dealloc]; 88 | } 89 | @end 90 | -------------------------------------------------------------------------------- /UIWebViewTest/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // UIWebViewTest 4 | // 5 | // Created by Tang Qiao on 12-4-10. 6 | // Copyright (c) 2012年 Netease. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | #import "ViewController.h" 12 | 13 | @implementation AppDelegate 14 | 15 | @synthesize window = _window; 16 | @synthesize viewController = _viewController; 17 | 18 | - (void)dealloc 19 | { 20 | [_window release]; 21 | [_viewController release]; 22 | [super dealloc]; 23 | } 24 | 25 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 26 | { 27 | self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; 28 | // Override point for customization after application launch. 29 | self.viewController = [[[ViewController alloc] initWithNibName:@"ViewController" bundle:nil] autorelease]; 30 | self.window.rootViewController = self.viewController; 31 | [self.window makeKeyAndVisible]; 32 | return YES; 33 | } 34 | 35 | - (void)applicationWillResignActive:(UIApplication *)application 36 | { 37 | /* 38 | Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 39 | Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 40 | */ 41 | } 42 | 43 | - (void)applicationDidEnterBackground:(UIApplication *)application 44 | { 45 | /* 46 | Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 47 | If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 48 | */ 49 | } 50 | 51 | - (void)applicationWillEnterForeground:(UIApplication *)application 52 | { 53 | /* 54 | Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 55 | */ 56 | } 57 | 58 | - (void)applicationDidBecomeActive:(UIApplication *)application 59 | { 60 | /* 61 | Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 62 | */ 63 | } 64 | 65 | - (void)applicationWillTerminate:(UIApplication *)application 66 | { 67 | /* 68 | Called when the application is about to terminate. 69 | Save data if appropriate. 70 | See also applicationDidEnterBackground:. 71 | */ 72 | } 73 | 74 | @end 75 | -------------------------------------------------------------------------------- /UIWebViewTest.xcodeproj/xcuserdata/tangqiao.xcuserdatad/xcschemes/UIWebViewTest.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 14 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 32 | 38 | 39 | 40 | 41 | 42 | 48 | 49 | 50 | 51 | 59 | 60 | 66 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 84 | 85 | 86 | 87 | 89 | 90 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /UIWebViewTest/en.lproj/ViewController.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1280 5 | 11D50b 6 | 1938 7 | 1138.32 8 | 568.00 9 | 10 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 11 | 933 12 | 13 | 14 | IBUIWebView 15 | IBUIButton 16 | IBUIView 17 | IBProxyObject 18 | 19 | 20 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 21 | 22 | 23 | PluginDependencyRecalculationVersion 24 | 25 | 26 | 27 | 28 | IBFilesOwner 29 | IBIPadFramework 30 | 31 | 32 | IBFirstResponder 33 | IBIPadFramework 34 | 35 | 36 | 37 | 274 38 | 39 | 40 | 41 | 274 42 | {768, 800} 43 | 44 | 45 | _NS:693 46 | 47 | 1 48 | MSAxIDEAA 49 | 50 | IBIPadFramework 51 | 1 52 | YES 53 | 54 | 55 | 56 | 292 57 | {{521, 813}, {85, 37}} 58 | 59 | 60 | _NS:241 61 | NO 62 | IBIPadFramework 63 | 0 64 | 0 65 | 1 66 | 增加一行 67 | 68 | 3 69 | MQA 70 | 71 | 72 | 1 73 | MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA 74 | 75 | 76 | 3 77 | MC41AA 78 | 79 | 80 | 2 81 | 15 82 | 83 | 84 | Helvetica-Bold 85 | 15 86 | 16 87 | 88 | 89 | 90 | {{0, 20}, {768, 1004}} 91 | 92 | 93 | 94 | 3 95 | MQA 96 | 97 | 2 98 | 99 | 100 | 101 | 2 102 | 103 | IBIPadFramework 104 | 105 | 106 | 107 | 108 | 109 | 110 | view 111 | 112 | 113 | 114 | 3 115 | 116 | 117 | 118 | webView 119 | 120 | 121 | 122 | 6 123 | 124 | 125 | 126 | delegate 127 | 128 | 129 | 130 | 5 131 | 132 | 133 | 134 | addContent: 135 | 136 | 137 | 7 138 | 139 | 8 140 | 141 | 142 | 143 | 144 | 145 | 0 146 | 147 | 148 | 149 | 150 | 151 | -1 152 | 153 | 154 | File's Owner 155 | 156 | 157 | -2 158 | 159 | 160 | 161 | 162 | 2 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 4 172 | 173 | 174 | 175 | 176 | 7 177 | 178 | 179 | 180 | 181 | 182 | 183 | ViewController 184 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 185 | UIResponder 186 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 187 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 188 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 189 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 190 | 191 | 192 | 193 | 194 | 195 | 8 196 | 197 | 198 | 0 199 | IBIPadFramework 200 | YES 201 | 3 202 | 933 203 | 204 | 205 | -------------------------------------------------------------------------------- /UIWebViewTest.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 45AB039E1533D94F00E0D611 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45AB039D1533D94F00E0D611 /* UIKit.framework */; }; 11 | 45AB03A01533D94F00E0D611 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45AB039F1533D94F00E0D611 /* Foundation.framework */; }; 12 | 45AB03A21533D94F00E0D611 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45AB03A11533D94F00E0D611 /* CoreGraphics.framework */; }; 13 | 45AB03A81533D94F00E0D611 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 45AB03A61533D94F00E0D611 /* InfoPlist.strings */; }; 14 | 45AB03AA1533D94F00E0D611 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 45AB03A91533D94F00E0D611 /* main.m */; }; 15 | 45AB03AE1533D94F00E0D611 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 45AB03AD1533D94F00E0D611 /* AppDelegate.m */; }; 16 | 45AB03B11533D94F00E0D611 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 45AB03B01533D94F00E0D611 /* ViewController.m */; }; 17 | 45AB03B41533D94F00E0D611 /* ViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 45AB03B21533D94F00E0D611 /* ViewController.xib */; }; 18 | 45AB03BC1533D94F00E0D611 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45AB03BB1533D94F00E0D611 /* SenTestingKit.framework */; }; 19 | 45AB03BD1533D94F00E0D611 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45AB039D1533D94F00E0D611 /* UIKit.framework */; }; 20 | 45AB03BE1533D94F00E0D611 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45AB039F1533D94F00E0D611 /* Foundation.framework */; }; 21 | 45AB03C61533D94F00E0D611 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 45AB03C41533D94F00E0D611 /* InfoPlist.strings */; }; 22 | 45AB03C91533D94F00E0D611 /* UIWebViewTestTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 45AB03C81533D94F00E0D611 /* UIWebViewTestTests.m */; }; 23 | 45AB03D31533D9C500E0D611 /* index.html in Resources */ = {isa = PBXBuildFile; fileRef = 45AB03D21533D9C500E0D611 /* index.html */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 45AB03BF1533D94F00E0D611 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = 45AB03901533D94F00E0D611 /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 45AB03981533D94F00E0D611; 32 | remoteInfo = UIWebViewTest; 33 | }; 34 | /* End PBXContainerItemProxy section */ 35 | 36 | /* Begin PBXFileReference section */ 37 | 45AB03991533D94F00E0D611 /* UIWebViewTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = UIWebViewTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 45AB039D1533D94F00E0D611 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 39 | 45AB039F1533D94F00E0D611 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 40 | 45AB03A11533D94F00E0D611 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 41 | 45AB03A51533D94F00E0D611 /* UIWebViewTest-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "UIWebViewTest-Info.plist"; sourceTree = ""; }; 42 | 45AB03A71533D94F00E0D611 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 43 | 45AB03A91533D94F00E0D611 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 44 | 45AB03AB1533D94F00E0D611 /* UIWebViewTest-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIWebViewTest-Prefix.pch"; sourceTree = ""; }; 45 | 45AB03AC1533D94F00E0D611 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 46 | 45AB03AD1533D94F00E0D611 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 47 | 45AB03AF1533D94F00E0D611 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 48 | 45AB03B01533D94F00E0D611 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 49 | 45AB03B31533D94F00E0D611 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController.xib; sourceTree = ""; }; 50 | 45AB03BA1533D94F00E0D611 /* UIWebViewTestTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = UIWebViewTestTests.octest; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 45AB03BB1533D94F00E0D611 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; 52 | 45AB03C31533D94F00E0D611 /* UIWebViewTestTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "UIWebViewTestTests-Info.plist"; sourceTree = ""; }; 53 | 45AB03C51533D94F00E0D611 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 54 | 45AB03C71533D94F00E0D611 /* UIWebViewTestTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UIWebViewTestTests.h; sourceTree = ""; }; 55 | 45AB03C81533D94F00E0D611 /* UIWebViewTestTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UIWebViewTestTests.m; sourceTree = ""; }; 56 | 45AB03D21533D9C500E0D611 /* index.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = index.html; sourceTree = ""; }; 57 | /* End PBXFileReference section */ 58 | 59 | /* Begin PBXFrameworksBuildPhase section */ 60 | 45AB03961533D94F00E0D611 /* Frameworks */ = { 61 | isa = PBXFrameworksBuildPhase; 62 | buildActionMask = 2147483647; 63 | files = ( 64 | 45AB039E1533D94F00E0D611 /* UIKit.framework in Frameworks */, 65 | 45AB03A01533D94F00E0D611 /* Foundation.framework in Frameworks */, 66 | 45AB03A21533D94F00E0D611 /* CoreGraphics.framework in Frameworks */, 67 | ); 68 | runOnlyForDeploymentPostprocessing = 0; 69 | }; 70 | 45AB03B61533D94F00E0D611 /* Frameworks */ = { 71 | isa = PBXFrameworksBuildPhase; 72 | buildActionMask = 2147483647; 73 | files = ( 74 | 45AB03BC1533D94F00E0D611 /* SenTestingKit.framework in Frameworks */, 75 | 45AB03BD1533D94F00E0D611 /* UIKit.framework in Frameworks */, 76 | 45AB03BE1533D94F00E0D611 /* Foundation.framework in Frameworks */, 77 | ); 78 | runOnlyForDeploymentPostprocessing = 0; 79 | }; 80 | /* End PBXFrameworksBuildPhase section */ 81 | 82 | /* Begin PBXGroup section */ 83 | 45AB038E1533D94F00E0D611 = { 84 | isa = PBXGroup; 85 | children = ( 86 | 45AB03A31533D94F00E0D611 /* UIWebViewTest */, 87 | 45AB03C11533D94F00E0D611 /* UIWebViewTestTests */, 88 | 45AB039C1533D94F00E0D611 /* Frameworks */, 89 | 45AB039A1533D94F00E0D611 /* Products */, 90 | ); 91 | sourceTree = ""; 92 | }; 93 | 45AB039A1533D94F00E0D611 /* Products */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 45AB03991533D94F00E0D611 /* UIWebViewTest.app */, 97 | 45AB03BA1533D94F00E0D611 /* UIWebViewTestTests.octest */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 45AB039C1533D94F00E0D611 /* Frameworks */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 45AB039D1533D94F00E0D611 /* UIKit.framework */, 106 | 45AB039F1533D94F00E0D611 /* Foundation.framework */, 107 | 45AB03A11533D94F00E0D611 /* CoreGraphics.framework */, 108 | 45AB03BB1533D94F00E0D611 /* SenTestingKit.framework */, 109 | ); 110 | name = Frameworks; 111 | sourceTree = ""; 112 | }; 113 | 45AB03A31533D94F00E0D611 /* UIWebViewTest */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 45AB03AC1533D94F00E0D611 /* AppDelegate.h */, 117 | 45AB03AD1533D94F00E0D611 /* AppDelegate.m */, 118 | 45AB03AF1533D94F00E0D611 /* ViewController.h */, 119 | 45AB03B01533D94F00E0D611 /* ViewController.m */, 120 | 45AB03B21533D94F00E0D611 /* ViewController.xib */, 121 | 45AB03A41533D94F00E0D611 /* Supporting Files */, 122 | ); 123 | path = UIWebViewTest; 124 | sourceTree = ""; 125 | }; 126 | 45AB03A41533D94F00E0D611 /* Supporting Files */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 45AB03A51533D94F00E0D611 /* UIWebViewTest-Info.plist */, 130 | 45AB03A61533D94F00E0D611 /* InfoPlist.strings */, 131 | 45AB03A91533D94F00E0D611 /* main.m */, 132 | 45AB03AB1533D94F00E0D611 /* UIWebViewTest-Prefix.pch */, 133 | 45AB03D21533D9C500E0D611 /* index.html */, 134 | ); 135 | name = "Supporting Files"; 136 | sourceTree = ""; 137 | }; 138 | 45AB03C11533D94F00E0D611 /* UIWebViewTestTests */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | 45AB03C71533D94F00E0D611 /* UIWebViewTestTests.h */, 142 | 45AB03C81533D94F00E0D611 /* UIWebViewTestTests.m */, 143 | 45AB03C21533D94F00E0D611 /* Supporting Files */, 144 | ); 145 | path = UIWebViewTestTests; 146 | sourceTree = ""; 147 | }; 148 | 45AB03C21533D94F00E0D611 /* Supporting Files */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | 45AB03C31533D94F00E0D611 /* UIWebViewTestTests-Info.plist */, 152 | 45AB03C41533D94F00E0D611 /* InfoPlist.strings */, 153 | ); 154 | name = "Supporting Files"; 155 | sourceTree = ""; 156 | }; 157 | /* End PBXGroup section */ 158 | 159 | /* Begin PBXNativeTarget section */ 160 | 45AB03981533D94F00E0D611 /* UIWebViewTest */ = { 161 | isa = PBXNativeTarget; 162 | buildConfigurationList = 45AB03CC1533D94F00E0D611 /* Build configuration list for PBXNativeTarget "UIWebViewTest" */; 163 | buildPhases = ( 164 | 45AB03951533D94F00E0D611 /* Sources */, 165 | 45AB03961533D94F00E0D611 /* Frameworks */, 166 | 45AB03971533D94F00E0D611 /* Resources */, 167 | ); 168 | buildRules = ( 169 | ); 170 | dependencies = ( 171 | ); 172 | name = UIWebViewTest; 173 | productName = UIWebViewTest; 174 | productReference = 45AB03991533D94F00E0D611 /* UIWebViewTest.app */; 175 | productType = "com.apple.product-type.application"; 176 | }; 177 | 45AB03B91533D94F00E0D611 /* UIWebViewTestTests */ = { 178 | isa = PBXNativeTarget; 179 | buildConfigurationList = 45AB03CF1533D94F00E0D611 /* Build configuration list for PBXNativeTarget "UIWebViewTestTests" */; 180 | buildPhases = ( 181 | 45AB03B51533D94F00E0D611 /* Sources */, 182 | 45AB03B61533D94F00E0D611 /* Frameworks */, 183 | 45AB03B71533D94F00E0D611 /* Resources */, 184 | 45AB03B81533D94F00E0D611 /* ShellScript */, 185 | ); 186 | buildRules = ( 187 | ); 188 | dependencies = ( 189 | 45AB03C01533D94F00E0D611 /* PBXTargetDependency */, 190 | ); 191 | name = UIWebViewTestTests; 192 | productName = UIWebViewTestTests; 193 | productReference = 45AB03BA1533D94F00E0D611 /* UIWebViewTestTests.octest */; 194 | productType = "com.apple.product-type.bundle"; 195 | }; 196 | /* End PBXNativeTarget section */ 197 | 198 | /* Begin PBXProject section */ 199 | 45AB03901533D94F00E0D611 /* Project object */ = { 200 | isa = PBXProject; 201 | attributes = { 202 | LastUpgradeCheck = 0420; 203 | ORGANIZATIONNAME = Netease; 204 | }; 205 | buildConfigurationList = 45AB03931533D94F00E0D611 /* Build configuration list for PBXProject "UIWebViewTest" */; 206 | compatibilityVersion = "Xcode 3.2"; 207 | developmentRegion = English; 208 | hasScannedForEncodings = 0; 209 | knownRegions = ( 210 | en, 211 | ); 212 | mainGroup = 45AB038E1533D94F00E0D611; 213 | productRefGroup = 45AB039A1533D94F00E0D611 /* Products */; 214 | projectDirPath = ""; 215 | projectRoot = ""; 216 | targets = ( 217 | 45AB03981533D94F00E0D611 /* UIWebViewTest */, 218 | 45AB03B91533D94F00E0D611 /* UIWebViewTestTests */, 219 | ); 220 | }; 221 | /* End PBXProject section */ 222 | 223 | /* Begin PBXResourcesBuildPhase section */ 224 | 45AB03971533D94F00E0D611 /* Resources */ = { 225 | isa = PBXResourcesBuildPhase; 226 | buildActionMask = 2147483647; 227 | files = ( 228 | 45AB03A81533D94F00E0D611 /* InfoPlist.strings in Resources */, 229 | 45AB03B41533D94F00E0D611 /* ViewController.xib in Resources */, 230 | 45AB03D31533D9C500E0D611 /* index.html in Resources */, 231 | ); 232 | runOnlyForDeploymentPostprocessing = 0; 233 | }; 234 | 45AB03B71533D94F00E0D611 /* Resources */ = { 235 | isa = PBXResourcesBuildPhase; 236 | buildActionMask = 2147483647; 237 | files = ( 238 | 45AB03C61533D94F00E0D611 /* InfoPlist.strings in Resources */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | /* End PBXResourcesBuildPhase section */ 243 | 244 | /* Begin PBXShellScriptBuildPhase section */ 245 | 45AB03B81533D94F00E0D611 /* ShellScript */ = { 246 | isa = PBXShellScriptBuildPhase; 247 | buildActionMask = 2147483647; 248 | files = ( 249 | ); 250 | inputPaths = ( 251 | ); 252 | outputPaths = ( 253 | ); 254 | runOnlyForDeploymentPostprocessing = 0; 255 | shellPath = /bin/sh; 256 | shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; 257 | }; 258 | /* End PBXShellScriptBuildPhase section */ 259 | 260 | /* Begin PBXSourcesBuildPhase section */ 261 | 45AB03951533D94F00E0D611 /* Sources */ = { 262 | isa = PBXSourcesBuildPhase; 263 | buildActionMask = 2147483647; 264 | files = ( 265 | 45AB03AA1533D94F00E0D611 /* main.m in Sources */, 266 | 45AB03AE1533D94F00E0D611 /* AppDelegate.m in Sources */, 267 | 45AB03B11533D94F00E0D611 /* ViewController.m in Sources */, 268 | ); 269 | runOnlyForDeploymentPostprocessing = 0; 270 | }; 271 | 45AB03B51533D94F00E0D611 /* Sources */ = { 272 | isa = PBXSourcesBuildPhase; 273 | buildActionMask = 2147483647; 274 | files = ( 275 | 45AB03C91533D94F00E0D611 /* UIWebViewTestTests.m in Sources */, 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | }; 279 | /* End PBXSourcesBuildPhase section */ 280 | 281 | /* Begin PBXTargetDependency section */ 282 | 45AB03C01533D94F00E0D611 /* PBXTargetDependency */ = { 283 | isa = PBXTargetDependency; 284 | target = 45AB03981533D94F00E0D611 /* UIWebViewTest */; 285 | targetProxy = 45AB03BF1533D94F00E0D611 /* PBXContainerItemProxy */; 286 | }; 287 | /* End PBXTargetDependency section */ 288 | 289 | /* Begin PBXVariantGroup section */ 290 | 45AB03A61533D94F00E0D611 /* InfoPlist.strings */ = { 291 | isa = PBXVariantGroup; 292 | children = ( 293 | 45AB03A71533D94F00E0D611 /* en */, 294 | ); 295 | name = InfoPlist.strings; 296 | sourceTree = ""; 297 | }; 298 | 45AB03B21533D94F00E0D611 /* ViewController.xib */ = { 299 | isa = PBXVariantGroup; 300 | children = ( 301 | 45AB03B31533D94F00E0D611 /* en */, 302 | ); 303 | name = ViewController.xib; 304 | sourceTree = ""; 305 | }; 306 | 45AB03C41533D94F00E0D611 /* InfoPlist.strings */ = { 307 | isa = PBXVariantGroup; 308 | children = ( 309 | 45AB03C51533D94F00E0D611 /* en */, 310 | ); 311 | name = InfoPlist.strings; 312 | sourceTree = ""; 313 | }; 314 | /* End PBXVariantGroup section */ 315 | 316 | /* Begin XCBuildConfiguration section */ 317 | 45AB03CA1533D94F00E0D611 /* Debug */ = { 318 | isa = XCBuildConfiguration; 319 | buildSettings = { 320 | ALWAYS_SEARCH_USER_PATHS = NO; 321 | ARCHS = "$(ARCHS_STANDARD_32_BIT)"; 322 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 323 | COPY_PHASE_STRIP = NO; 324 | GCC_C_LANGUAGE_STANDARD = gnu99; 325 | GCC_DYNAMIC_NO_PIC = NO; 326 | GCC_OPTIMIZATION_LEVEL = 0; 327 | GCC_PREPROCESSOR_DEFINITIONS = ( 328 | "DEBUG=1", 329 | "$(inherited)", 330 | ); 331 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 332 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 333 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 334 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 335 | GCC_WARN_UNUSED_VARIABLE = YES; 336 | IPHONEOS_DEPLOYMENT_TARGET = 5.0; 337 | SDKROOT = iphoneos; 338 | TARGETED_DEVICE_FAMILY = 2; 339 | }; 340 | name = Debug; 341 | }; 342 | 45AB03CB1533D94F00E0D611 /* Release */ = { 343 | isa = XCBuildConfiguration; 344 | buildSettings = { 345 | ALWAYS_SEARCH_USER_PATHS = NO; 346 | ARCHS = "$(ARCHS_STANDARD_32_BIT)"; 347 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 348 | COPY_PHASE_STRIP = YES; 349 | GCC_C_LANGUAGE_STANDARD = gnu99; 350 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 351 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 352 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 353 | GCC_WARN_UNUSED_VARIABLE = YES; 354 | IPHONEOS_DEPLOYMENT_TARGET = 5.0; 355 | OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; 356 | SDKROOT = iphoneos; 357 | TARGETED_DEVICE_FAMILY = 2; 358 | VALIDATE_PRODUCT = YES; 359 | }; 360 | name = Release; 361 | }; 362 | 45AB03CD1533D94F00E0D611 /* Debug */ = { 363 | isa = XCBuildConfiguration; 364 | buildSettings = { 365 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 366 | GCC_PREFIX_HEADER = "UIWebViewTest/UIWebViewTest-Prefix.pch"; 367 | INFOPLIST_FILE = "UIWebViewTest/UIWebViewTest-Info.plist"; 368 | PRODUCT_NAME = "$(TARGET_NAME)"; 369 | WRAPPER_EXTENSION = app; 370 | }; 371 | name = Debug; 372 | }; 373 | 45AB03CE1533D94F00E0D611 /* Release */ = { 374 | isa = XCBuildConfiguration; 375 | buildSettings = { 376 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 377 | GCC_PREFIX_HEADER = "UIWebViewTest/UIWebViewTest-Prefix.pch"; 378 | INFOPLIST_FILE = "UIWebViewTest/UIWebViewTest-Info.plist"; 379 | PRODUCT_NAME = "$(TARGET_NAME)"; 380 | WRAPPER_EXTENSION = app; 381 | }; 382 | name = Release; 383 | }; 384 | 45AB03D01533D94F00E0D611 /* Debug */ = { 385 | isa = XCBuildConfiguration; 386 | buildSettings = { 387 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/UIWebViewTest.app/UIWebViewTest"; 388 | FRAMEWORK_SEARCH_PATHS = ( 389 | "$(SDKROOT)/Developer/Library/Frameworks", 390 | "$(DEVELOPER_LIBRARY_DIR)/Frameworks", 391 | ); 392 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 393 | GCC_PREFIX_HEADER = "UIWebViewTest/UIWebViewTest-Prefix.pch"; 394 | INFOPLIST_FILE = "UIWebViewTestTests/UIWebViewTestTests-Info.plist"; 395 | PRODUCT_NAME = "$(TARGET_NAME)"; 396 | TEST_HOST = "$(BUNDLE_LOADER)"; 397 | WRAPPER_EXTENSION = octest; 398 | }; 399 | name = Debug; 400 | }; 401 | 45AB03D11533D94F00E0D611 /* Release */ = { 402 | isa = XCBuildConfiguration; 403 | buildSettings = { 404 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/UIWebViewTest.app/UIWebViewTest"; 405 | FRAMEWORK_SEARCH_PATHS = ( 406 | "$(SDKROOT)/Developer/Library/Frameworks", 407 | "$(DEVELOPER_LIBRARY_DIR)/Frameworks", 408 | ); 409 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 410 | GCC_PREFIX_HEADER = "UIWebViewTest/UIWebViewTest-Prefix.pch"; 411 | INFOPLIST_FILE = "UIWebViewTestTests/UIWebViewTestTests-Info.plist"; 412 | PRODUCT_NAME = "$(TARGET_NAME)"; 413 | TEST_HOST = "$(BUNDLE_LOADER)"; 414 | WRAPPER_EXTENSION = octest; 415 | }; 416 | name = Release; 417 | }; 418 | /* End XCBuildConfiguration section */ 419 | 420 | /* Begin XCConfigurationList section */ 421 | 45AB03931533D94F00E0D611 /* Build configuration list for PBXProject "UIWebViewTest" */ = { 422 | isa = XCConfigurationList; 423 | buildConfigurations = ( 424 | 45AB03CA1533D94F00E0D611 /* Debug */, 425 | 45AB03CB1533D94F00E0D611 /* Release */, 426 | ); 427 | defaultConfigurationIsVisible = 0; 428 | defaultConfigurationName = Release; 429 | }; 430 | 45AB03CC1533D94F00E0D611 /* Build configuration list for PBXNativeTarget "UIWebViewTest" */ = { 431 | isa = XCConfigurationList; 432 | buildConfigurations = ( 433 | 45AB03CD1533D94F00E0D611 /* Debug */, 434 | 45AB03CE1533D94F00E0D611 /* Release */, 435 | ); 436 | defaultConfigurationIsVisible = 0; 437 | }; 438 | 45AB03CF1533D94F00E0D611 /* Build configuration list for PBXNativeTarget "UIWebViewTestTests" */ = { 439 | isa = XCConfigurationList; 440 | buildConfigurations = ( 441 | 45AB03D01533D94F00E0D611 /* Debug */, 442 | 45AB03D11533D94F00E0D611 /* Release */, 443 | ); 444 | defaultConfigurationIsVisible = 0; 445 | }; 446 | /* End XCConfigurationList section */ 447 | }; 448 | rootObject = 45AB03901533D94F00E0D611 /* Project object */; 449 | } 450 | --------------------------------------------------------------------------------