UITabBarController Test
来源:互联网 发布:超级助手软件最新版 编辑:程序博客网 时间:2024/05/06 11:11
//在AppDelegate.cpp中实现
subViewController *subView = [[subViewController alloc]init];
UITabBarItem *sbuViewBarItem = [[UITabBarItem alloc]initWithTabBarSystemItem:UITabBarSystemItemBookmarks tag:0];UINavigationController *subViewNav = [[UINavigationController alloc]initWithRootViewController:subView];
subViewNav.tabBarItem = sbuViewBarItem ;
test1ViewController *test1View = [[test1ViewController alloc]init];
UINavigationController *test1Nav = [[UINavigationController alloc]initWithRootViewController:test1View];
UITabBarItem *rightBarItem = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemDownloads tag:0];
test1Nav.tabBarItem = rightBarItem;
UITabBarController *barController = [[UITabBarController alloc]init];
barController.viewControllers = [NSArray arrayWithObjects:subViewNav ,test1Nav , nil] ;
[self.window setRootViewController:barController];
- UITabBarController Test
- UITabbarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabbarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabbarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabBarController
- 抱怨是往鞋子里倒水
- android 动态折线图
- java基础篇——基本概念(基本概念)
- 2013.10.26
- LinearLayout的一些注意事项
- UITabBarController Test
- VS2008性能分析工具
- C++类间相互引用
- OCarray
- 在Tiled Map中使用碰撞检测
- OCP-1Z0-052-V8.02-15题
- MongoDB一些知识
- 无法启动此程序,因为计算机中丢失opencv_core*d.dll vs2010
- DbHelperSQL