Commit 7cb2386b authored by mei's avatar mei

no message

parent 788bedb8
...@@ -129,14 +129,16 @@ ...@@ -129,14 +129,16 @@
[self createSyncViewController]; [self createSyncViewController];
[self createSystemViewController]; [self createSystemViewController];
if (!m_tabbarController) { if (!m_tabbarController) {
m_tabbarController = [[IBTTabBarController alloc] init]; m_tabbarController = [[IBTTabBarController alloc] init];
m_tabbarController.delegate = self; m_tabbarController.delegate = self;
} }
// 添加 首页 门店 同步 系统
[m_tabbarController setViewControllers:m_arrViewController]; [m_tabbarController setViewControllers:m_arrViewController];
// 默认首次进入
[m_tabbarController setSelectedIndex:kCRHome]; [m_tabbarController setSelectedIndex:kCRHome];
// 底部bar
m_window.rootViewController = m_tabbarController; m_window.rootViewController = m_tabbarController;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment