|
@@ -55,6 +55,7 @@ NSString *const new_AesKey_3 = @"mGlAgnIBB8bx2nch";
|
|
|
WKWebViewConfiguration *config = [[WKWebViewConfiguration alloc] init];
|
|
|
config.preferences = [[WKPreferences alloc] init];
|
|
|
config.preferences.minimumFontSize = 0;
|
|
|
+ config.allowsInlineMediaPlayback = YES;
|
|
|
config.preferences.javaScriptEnabled = YES;
|
|
|
config.preferences.javaScriptCanOpenWindowsAutomatically = YES;
|
|
|
//添加消息处理,注意:self指代的是需要遵守WKScriptMessageHandler协议,结束时需要移除
|