|
|
@@ -632,9 +632,17 @@
|
|
|
|
|
|
if(vcArr.count >= 2){
|
|
|
UIViewController *curVC = vcArr.lastObject;
|
|
|
- if([curVC isKindOfClass:[imageDetailsScrollViewController class]]
|
|
|
- ||[curVC isKindOfClass:[videoPlayByAVPlayerViewController class]]
|
|
|
- ||[curVC isKindOfClass:[webRtcPlayerViewController class]]){
|
|
|
+
|
|
|
+ if([curVC isKindOfClass:[webRtcPlayerViewController class]]){
|
|
|
+ webRtcPlayerViewController* vc = (webRtcPlayerViewController*)curVC;
|
|
|
+ if(vc.isLan){
|
|
|
+ ksharedAppDelegate.needToPushWebRtcVCType = YES;
|
|
|
+ [vc exitCloudPhoneFun];
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if([curVC isKindOfClass:[imageDetailsScrollViewController class]]
|
|
|
+ ||[curVC isKindOfClass:[videoPlayByAVPlayerViewController class]]){
|
|
|
+
|
|
|
//切换到竖屏
|
|
|
ksharedAppDelegate.supportScreenRotateType = YES;
|
|
|
[curVC hx_rotateToInterfaceOrientation:UIInterfaceOrientationPortrait];
|
|
|
@@ -648,16 +656,7 @@
|
|
|
[self showCalculatorVC];
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-// if(isNeeddelayedType){
|
|
|
-// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
-// ksharedAppDelegate.supportScreenRotateType = NO;
|
|
|
-// [self showCalculatorVC];
|
|
|
-// });
|
|
|
-// }
|
|
|
-// else{
|
|
|
-// [self showCalculatorVC];
|
|
|
-// }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
- (void)scene:(UIScene *)scene continueUserActivity:(NSUserActivity *)userActivity {
|
|
|
@@ -783,7 +782,6 @@
|
|
|
HLog(@"showCalculatorVC 处理密码框弹出")
|
|
|
|
|
|
if(SCREEN_W > SCREEN_H){
|
|
|
- ksharedAppDelegate.isDelayedShowPwdType = YES;
|
|
|
HLog(@"showCalculatorVC 屏幕还是横屏状态")
|
|
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
[self showCalculatorVC];
|
|
|
@@ -911,7 +909,6 @@
|
|
|
[self.window addSubview:_calculatorVC.view];
|
|
|
ksharedAppDelegate.isDidShowPwdType = YES;
|
|
|
}
|
|
|
- ksharedAppDelegate.isDelayedShowPwdType = NO;
|
|
|
[[NSNotificationCenter defaultCenter] postNotificationName:ShowPwdVCNotification object:nil];
|
|
|
}
|
|
|
|