|
@@ -110,6 +110,7 @@ NSString *const new_AesKey_4 = @"mGlAgnIBB8bx2nch";
|
|
|
_webView.UIDelegate = self;
|
|
|
_webView.navigationDelegate = self;
|
|
|
// _webView.allowsBackForwardNavigationGestures = true;
|
|
|
+ _webView.userInteractionEnabled = YES;
|
|
|
[_webView addObserver:self forKeyPath:@"estimatedProgress" options:NSKeyValueObservingOptionNew context:nil];
|
|
|
}
|
|
|
return _webView;
|
|
@@ -573,7 +574,7 @@ NSString *const new_AesKey_4 = @"mGlAgnIBB8bx2nch";
|
|
|
JYNewWebController *ctr = [[JYNewWebController alloc] init];
|
|
|
// NewWebController *ctr = [[NewWebController alloc] init];
|
|
|
ctr.url = url;
|
|
|
- if (!title || [title isEqualToString:@""] || [title isEqualToString:@"undefined"]) {
|
|
|
+ if (!title || [title isEqualToString:@""]||[title isEqualToString:@"undefined"]) {
|
|
|
ctr.titleShow = nil;
|
|
|
}else{
|
|
|
ctr.titleShow = title;
|