navigationBar UITabBarController

解决ableView被navigationBar挡住问题   

  self.edgesForExtendedLayout = UIRectEdgeNone;(self 为UItableViewController)

UITabBar  当前选中页

  self.selectedIndex=1;//self 为UITabbarController

设置badgeValue(圈文)

  self.tabBarItem.badgeValue=10;//self 为viewController

tabBar 上文字和图片的颜色  

  [self.tabBar setTintColor:[UIColor blackColor]];   //self为UITabbarController

tabBar的颜色

   self.tabBar.barTintColor = [UIColor blackColor];  //self为UITabbarController

posted on 2015-11-02 18:15  抹不掉那伤  阅读(100)  评论(0)    收藏  举报