2
This commit is contained in:
@@ -31,29 +31,29 @@
|
||||
// 首页
|
||||
HomeMainVC *home = [[HomeMainVC alloc] init];
|
||||
BaseNavigationController *navHome = [[BaseNavigationController alloc] initWithRootViewController:home];
|
||||
navHome.tabBarItem = [self tabItemWithTitle:@"首页"
|
||||
navHome.tabBarItem = [self tabItemWithTitle:KBLocalized(@"Home")
|
||||
image:@"tab_home"
|
||||
selectedImg:@"tab_home_selected"];
|
||||
|
||||
// 商城
|
||||
KBShopVC *shop = [[KBShopVC alloc] init];
|
||||
BaseNavigationController *navShop = [[BaseNavigationController alloc] initWithRootViewController:shop];
|
||||
navShop.tabBarItem = [self tabItemWithTitle:@"商城"
|
||||
navShop.tabBarItem = [self tabItemWithTitle:KBLocalized(@"Shop")
|
||||
image:@"tab_shop"
|
||||
selectedImg:@"tab_shop_selected"];
|
||||
|
||||
// 社区
|
||||
KBCommunityVC *community = [[KBCommunityVC alloc] init];
|
||||
community.title = @"社区";
|
||||
community.title = KBLocalized(@"社区");
|
||||
BaseNavigationController *navCommunity = [[BaseNavigationController alloc] initWithRootViewController:community];
|
||||
navCommunity.tabBarItem = [self tabItemWithTitle:@"社区"
|
||||
navCommunity.tabBarItem = [self tabItemWithTitle:KBLocalized(@"Circle")
|
||||
image:@"tab_shequ"
|
||||
selectedImg:@"tab_shequ_selected"];
|
||||
|
||||
// 我的
|
||||
MyVC *my = [[MyVC alloc] init];
|
||||
BaseNavigationController *navMy = [[BaseNavigationController alloc] initWithRootViewController:my];
|
||||
navMy.tabBarItem = [self tabItemWithTitle:@"我的"
|
||||
navMy.tabBarItem = [self tabItemWithTitle:KBLocalized(@"Mine")
|
||||
image:@"tab_my"
|
||||
selectedImg:@"tab_my_selected"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user