|
@@ -61,7 +61,7 @@
|
|
|
@property (nonatomic, assign) BOOL isLoginAgainType;// 单点登录 点重新登录进来的
|
|
|
|
|
|
@property (nonatomic, assign) BOOL isNeedToStopWork;// 无网络报错
|
|
|
-@property (nonatomic, assign) BOOL isDidShowPwdType;// 是否显示密码界面了
|
|
|
+
|
|
|
|
|
|
@property(nonatomic, copy) NSString *getShareStr;//拿到分享的字符串
|
|
|
|
|
@@ -748,7 +748,7 @@
|
|
|
[self closeCalculatorVC];
|
|
|
_inputVC = [[inputPWDViewController alloc] init];
|
|
|
[self.window addSubview:_inputVC.view];
|
|
|
- _isDidShowPwdType = YES;
|
|
|
+ ksharedAppDelegate.isDidShowPwdType = YES;
|
|
|
}
|
|
|
else if (maskModel == 2){
|
|
|
/*浏览器*/
|
|
@@ -757,14 +757,14 @@
|
|
|
_webVC.pwd = PwdStr;
|
|
|
_webVC.webUrl = @"https://baidu.com";
|
|
|
[self.window addSubview:_webVC.view];
|
|
|
- _isDidShowPwdType = YES;
|
|
|
+ ksharedAppDelegate.isDidShowPwdType = YES;
|
|
|
}else{
|
|
|
/*计算器*/
|
|
|
[self closeCalculatorVC];
|
|
|
_calculatorVC = [[CalculatorViewController alloc] init];
|
|
|
_calculatorVC.pwd = PwdStr;
|
|
|
[self.window addSubview:_calculatorVC.view];
|
|
|
- _isDidShowPwdType = YES;
|
|
|
+ ksharedAppDelegate.isDidShowPwdType = YES;
|
|
|
}
|
|
|
|
|
|
[[NSNotificationCenter defaultCenter] postNotificationName:ShowPwdVCNotification object:nil];
|
|
@@ -786,7 +786,7 @@
|
|
|
if(_inputVC){
|
|
|
[_inputVC.view removeFromSuperview];
|
|
|
}
|
|
|
- _isDidShowPwdType = NO;
|
|
|
+ ksharedAppDelegate.isDidShowPwdType = NO;
|
|
|
|
|
|
if(self->_session && self->_connectionOptions){
|
|
|
[self scene:self->_session openURLContexts:self->_connectionOptions.URLContexts];
|
|
@@ -1044,7 +1044,7 @@
|
|
|
{
|
|
|
NSInteger maskModel = [HWDataManager getIntegerWithKey:Const_Mask_View_Model];
|
|
|
|
|
|
- if(maskModel !=0 && _isDidShowPwdType){
|
|
|
+ if(maskModel !=0 && ksharedAppDelegate.isDidShowPwdType){
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -1336,7 +1336,7 @@
|
|
|
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController
|
|
|
{
|
|
|
NSInteger index = tabBarController.selectedIndex;
|
|
|
- //HLog(@"hxd %ld",index);
|
|
|
+
|
|
|
|
|
|
int eventType = 1;
|
|
|
NSString* eventValue = @"Nas";
|