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