소스 검색

1.屏蔽云手机模块
2.去掉登录伪装

huangxiaodong 3 달 전
부모
커밋
23e9262e1f

+ 9 - 4
创维盒子/code/AppDelegate/SceneDelegate.m

@@ -538,16 +538,21 @@
     BaseNavigationController *mineNav = [[BaseNavigationController alloc] initWithRootViewController:mineVC];
     
 
-    NSArray *viewControllers = @[NasNav, cloudPhoneNav,mineNav]; // 添加更多视图控制器
+    //NSArray *viewControllers = @[NasNav, cloudPhoneNav,mineNav]; // 添加更多视图控制器
+    NSArray *viewControllers = @[NasNav,mineNav]; // 添加更多视图控制器
     tabBarController.viewControllers = viewControllers;
     
 
     NSString*phoneTitle = NSLocalizedString(@"tabbar_cloud_phone",nil);
     NSString*myTitle = NSLocalizedString(@"tabbar_my_title",nil);
     
-    NSArray *titleArr = @[@"NAS",phoneTitle,myTitle];
-    NSArray *imageNArr = @[@"tabbar_nas_N", @"tabbar_phone_N",@"tabbar_my_N"];
-    NSArray *imageHArr = @[@"tabbar_nas_H", @"tabbar_phone_H",@"tabbar_my_H"];
+//    NSArray *titleArr = @[@"NAS",phoneTitle,myTitle];
+//    NSArray *imageNArr = @[@"tabbar_nas_N", @"tabbar_phone_N",@"tabbar_my_N"];
+//    NSArray *imageHArr = @[@"tabbar_nas_H", @"tabbar_phone_H",@"tabbar_my_H"];
+    
+    NSArray *titleArr = @[@"NAS",myTitle];
+    NSArray *imageNArr = @[@"tabbar_nas_N",@"tabbar_my_N"];
+    NSArray *imageHArr = @[@"tabbar_nas_H",@"tabbar_my_H"];
     
     for (int i=0; i<viewControllers.count; i++) {
         UITabBarItem * tabBarItem = [UITabBarItem new];

+ 3 - 3
创维盒子/code/Class/Set/privacyMode/privacyModeViewController.m

@@ -139,7 +139,7 @@
 }
 
 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
-#ifdef developJSQ
+#if 1//def developJSQ
     return 2;
 #else
     return 3;
@@ -180,7 +180,7 @@
         cell.bgViewLayer = maskLayer;
         cell.cellBgView.layer.mask = cell.bgViewLayer;
     }
-#ifdef developJSQ
+#if 1//def developJSQ
     else if (row == 1){
         [cell.titleLabel setText:NSLocalizedString(@"my_set_no_fanzhuan_exit",nil)];
         [cell.mImageView setImage:[UIImage imageNamed:@"fanzhuan"]];
@@ -253,7 +253,7 @@
         ModifyPWDFirstViewController *nextVC = [[ModifyPWDFirstViewController alloc] init];
         [self.navigationController pushViewController:nextVC animated:YES];
     }
-#ifdef developJSQ
+#if 1//def developJSQ
     //
 #else
     else if (1 == row){

+ 1 - 1
创维盒子/code/Helpers/iTools.m

@@ -1032,7 +1032,7 @@ static const char encodingTable[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopq
 
 + (void)lc_setAlternateIconName:(NSString*)iconName
 {
-    //超级签换不了图片 旧版本升级会有问题 不要了
+    // 不要了
     
     //anti apple private method call analyse
 //    if ([[UIApplication sharedApplication] respondsToSelector:@selector(supportsAlternateIcons)] &&