|
|
@@ -43,20 +43,20 @@
|
|
|
[nv2.tabBarItem setTitleTextAttributes:attributes forState:UIControlStateSelected];
|
|
|
|
|
|
BaseViewController *vc3 = [[CSFileTransListController alloc] init];
|
|
|
- IWNavigationController *nv3 = [self allocNavgationController:vc2];
|
|
|
+ IWNavigationController *nv3 = [self allocNavgationController:vc3];
|
|
|
|
|
|
UIImage* nv3Img = [UIImage imageNamed:@"msg_icon"];
|
|
|
UIImage* nv3SelImg = [[UIImage imageNamed:@"msg_icon_sel"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
|
|
- nv3.tabBarItem = [[UITabBarItem alloc]initWithTitle:@"传输列表" image:nv2Img selectedImage:nv2SelImg];
|
|
|
+ nv3.tabBarItem = [[UITabBarItem alloc]initWithTitle:@"传输列表" image:nv3Img selectedImage:nv3SelImg];
|
|
|
nv3.tabBarItem.tag=2;//112, 200, 242
|
|
|
[nv3.tabBarItem setTitleTextAttributes:attributes forState:UIControlStateSelected];
|
|
|
|
|
|
BaseViewController *vc4 = [[PreferencesViewController alloc] init];
|
|
|
- IWNavigationController *nv4 = [self allocNavgationController:vc2];
|
|
|
+ IWNavigationController *nv4 = [self allocNavgationController:vc4];
|
|
|
|
|
|
UIImage* nv4Img = [UIImage imageNamed:@"msg_icon"];
|
|
|
UIImage* nv4SelImg = [[UIImage imageNamed:@"msg_icon_sel"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
|
|
- nv4.tabBarItem = [[UITabBarItem alloc]initWithTitle:@"更多" image:nv2Img selectedImage:nv2SelImg];
|
|
|
+ nv4.tabBarItem = [[UITabBarItem alloc]initWithTitle:@"更多" image:nv4Img selectedImage:nv4SelImg];
|
|
|
nv4.tabBarItem.tag=3;//113, 200, 242
|
|
|
[nv4.tabBarItem setTitleTextAttributes:attributes forState:UIControlStateSelected];
|
|
|
self.viewControllers = @[nv1, nv2,nv3,nv4];
|