UITabBarController是一个常用的管理视图控制器的管理控制器
UITabBarController的使用步骤
1.初始化UITabBarController
2.设置rootViewController为UITabBarController
3.通过addChildViewController或ViewControllers添加子控制器
UITabBarController是一个标签控制器,里面管理的控制器,在UI表现上都是由UITabBar控件对UITabBarButton进行操控的
UITabBarButton里面有4个很有用的属性:
1.标题:title
2.普通状态图片:image
3.选中状态图片:selectedImage
4.提醒数字:(NString *)badgeValue