debug 聯調 webview JS端 web
didFinishLaunchingWithOptions {} app
// [NSClassFromString(@"WebView") _enableRemoteInspector]; spa
[NSClassFromString(@"WebView") performSelector:@selector(_enableRemoteInspector)]; //safari debug debug
appdelegate.h + (void)_enableRemoteInspector; orm
手機safari 設置爲 聯調 webview
webview 彈出的鍵盤沒法響應 輸入框 解決辦法 當前有webview的類 加上下面這段 it
AppDelegate * del = (AppDelegate *)[UIApplication sharedApplication].delegate; io
[del.window makeKeyAndVisible]; safari
web訪問繞過SSL驗證 z在webview類.m (@implementation WebPageViewController)文件 實例前加上這一段 form
@implementation NSURLRequest (NSURLRequestWithIgnoreSSL)
+ (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host
{
return YES;
}
@end