|
@@ -1384,11 +1384,12 @@ NSString *const new_AesKey_4 = @"mGlAgnIBB8bx2nch";
|
|
|
return mutStr;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
-(void)addNoNetViews{
|
|
|
kMainQueue(^{
|
|
|
+ self.recognizer.enabled = NO;
|
|
|
[self removeNoNetViews];
|
|
|
- NSString *current_url = [self stringByEvaluatingJavaScriptFromString:@"document.location.href"];
|
|
|
- NSLog(@"当前页面:%@",current_url);
|
|
|
+ //about:blank
|
|
|
self.noNetView = [NoNetView shareView];
|
|
|
[self.view addSubview:self.noNetView];
|
|
|
});
|
|
@@ -1396,6 +1397,7 @@ NSString *const new_AesKey_4 = @"mGlAgnIBB8bx2nch";
|
|
|
|
|
|
-(void)removeNoNetViews{
|
|
|
if (self.noNetView ) {
|
|
|
+ self.recognizer.enabled = YES;
|
|
|
[self.noNetView removeFromSuperview];
|
|
|
self.noNetView = nil;
|
|
|
}
|
|
@@ -1404,6 +1406,7 @@ NSString *const new_AesKey_4 = @"mGlAgnIBB8bx2nch";
|
|
|
|
|
|
-(void)addFailNetViews{
|
|
|
kMainQueue(^{
|
|
|
+ self.recognizer.enabled = NO;
|
|
|
[self removeFailNetViews];
|
|
|
self.failNetView = [NoNetView shareView];
|
|
|
[self.view addSubview:self.failNetView];
|
|
@@ -1412,6 +1415,7 @@ NSString *const new_AesKey_4 = @"mGlAgnIBB8bx2nch";
|
|
|
|
|
|
-(void)removeFailNetViews{
|
|
|
if (self.failNetView ) {
|
|
|
+ self.recognizer.enabled = YES;
|
|
|
[self.failNetView removeFromSuperview];
|
|
|
self.failNetView = nil;
|
|
|
}
|
|
@@ -1420,7 +1424,6 @@ NSString *const new_AesKey_4 = @"mGlAgnIBB8bx2nch";
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
#pragma mark **** 通知相关方法
|
|
|
|
|
|
// 点击通知 跳转到通知内url
|