|
@@ -116,7 +116,7 @@ NSString *const AesKey_1 = @"mGlAgnIBB8bx2nch";
|
|
[self.view addGestureRecognizer:recognizer];
|
|
[self.view addGestureRecognizer:recognizer];
|
|
//手势
|
|
//手势
|
|
|
|
|
|
- [self clearWeb];
|
|
|
|
|
|
+// [self clearWeb];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -217,11 +217,7 @@ NSString *const AesKey_1 = @"mGlAgnIBB8bx2nch";
|
|
if ([userInfo[@"AFNetworkingReachabilityNotificationStatusItem"] intValue] == 0 || [userInfo[@"AFNetworkingReachabilityNotificationStatusItem"] intValue] == -1) {
|
|
if ([userInfo[@"AFNetworkingReachabilityNotificationStatusItem"] intValue] == 0 || [userInfo[@"AFNetworkingReachabilityNotificationStatusItem"] intValue] == -1) {
|
|
[self addNoNetViews];
|
|
[self addNoNetViews];
|
|
}else{
|
|
}else{
|
|
- if ([[[NSUserDefaults standardUserDefaults] objectForKey:@"firstLoad"] intValue] == 0) {
|
|
|
|
- [[NSUserDefaults standardUserDefaults] setObject:@"1" forKey:@"firstLoad"];
|
|
|
|
- [self removeNoNetViews];
|
|
|
|
- [self webViewFirstRequest];
|
|
|
|
- }
|
|
|
|
|
|
+ [self removeNoNetViews];
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|