瀏覽代碼

1.tabbar 去掉nas模块

huangxiaodong 6 月之前
父節點
當前提交
f9362b5f62

+ 4 - 7
创维盒子/双子星云手机/AppDelegate/PrefixHeader.pch

@@ -112,16 +112,13 @@ isBangsScreen; \
 //#define shareService   @"http://testprivacy.phone.androidscloud.com:1801/h5/#/pages/fileSharing/index?productType=Private-X&token="
 
 //预生产环境
-//#define CloudService   @"http://testprivacy.phone.androidscloud.com:10900"
-//#define shareService   @"http://testprivacy.phone.androidscloud.com:10900/h5/#/pages/fileSharing/index?productType=Private-X&token="
+#define CloudService   @"http://testprivacy.phone.androidscloud.com:10900"
+#define shareService   @"http://testprivacy.phone.androidscloud.com:10900/h5/#/pages/fileSharing/index?productType=Private-X&token="
 
-//生产环境 弃用
-//弃用 #define CloudService   @"http://hiboxde.armclouding.com:7780"
-//弃用 #define shareService   @"http://hiboxde.armclouding.com:7780/h5/#/pages/fileSharing/index?productType=Private-X&token="
 
 //生产环境 1.4.3 开始使用
-#define CloudService   @"http://hiboxde.androidscloud.com:7780"
-#define shareService   @"http://hiboxde.androidscloud.com:7780/h5/#/pages/fileSharing/index?productType=Private-X&token="
+//#define CloudService   @"http://hiboxde.androidscloud.com:7780"
+//#define shareService   @"http://hiboxde.androidscloud.com:7780/h5/#/pages/fileSharing/index?productType=Private-X&token="
 
 
 #define AESCODEKEEYY @"fvO8gAfNSr1tbdQe"

+ 6 - 6
创维盒子/双子星云手机/AppDelegate/SceneDelegate.m

@@ -473,8 +473,8 @@
     UITabBarController *tabBarController = [[UITabBarController alloc] init];
     tabBarController.delegate = self;
     
-    NASViewController *NASVC = [[NASViewController alloc] init];
-    BaseNavigationController *NasNav = [[BaseNavigationController alloc] initWithRootViewController:NASVC];
+    //NASViewController *NASVC = [[NASViewController alloc] init];
+    //BaseNavigationController *NasNav = [[BaseNavigationController alloc] initWithRootViewController:NASVC];
     
     cloudPhoneViewController *cloudVC = [[cloudPhoneViewController alloc] init];
     BaseNavigationController *cloudPhoneNav = [[BaseNavigationController alloc] initWithRootViewController:cloudVC];
@@ -483,16 +483,16 @@
     BaseNavigationController *mineNav = [[BaseNavigationController alloc] initWithRootViewController:mineVC];
     
 
-    NSArray *viewControllers = @[NasNav, cloudPhoneNav,mineNav]; // 添加更多视图控制器
+    NSArray *viewControllers = @[/*NasNav,*/ cloudPhoneNav,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"];
     
     for (int i=0; i<viewControllers.count; i++) {
         UITabBarItem * tabBarItem = [UITabBarItem new];