|
@@ -515,16 +515,17 @@
|
|
|
|
|
|
BOOL haveOpenMask = [HWDataManager getBoolWithKey:Const_cloudPhone_Model_Open];
|
|
|
if(haveOpenMask){
|
|
|
- tabBarController.selectedIndex = 1;
|
|
|
|
|
|
//非隐私模式 直接进入推拉流页
|
|
|
if(ksharedAppDelegate.DeviceThirdIdMod && !ksharedAppDelegate.DeviceThirdIdMod.data.isPrivacyMode){
|
|
|
+ ksharedAppDelegate.isCloudPhoneModeNotPrivacyModeOpenType = YES;
|
|
|
[cloudVC queryWebRtcMsgFun:YES];
|
|
|
}
|
|
|
else{
|
|
|
ksharedAppDelegate.isCloudPhoneModeAndPrivacyModeOpenType = YES;
|
|
|
}
|
|
|
|
|
|
+ tabBarController.selectedIndex = 1;
|
|
|
}
|
|
|
|
|
|
ksharedAppDelegate.mainTabBar = tabBarController;
|
|
@@ -1504,4 +1505,13 @@
|
|
|
[[netWorkManager shareInstance] DataEmbeddingPointBy:eventType withEventValue:eventValue];
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+- (BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(UIViewController *)viewController
|
|
|
+{
|
|
|
+ if(ksharedAppDelegate.isCloudPhoneModeNotPrivacyModeOpenType
|
|
|
+ || ksharedAppDelegate.isCloudPhoneModeAndPrivacyModeOpenType){
|
|
|
+ return NO;
|
|
|
+ }
|
|
|
+ return YES;
|
|
|
+}
|
|
|
@end
|