tabbar文字颜色与大小
[self.tabBarItem setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor whiteColor],NSFontAttributeName : [UIFont fontWithName:@"Helvetica" size:12.0]} forState:UIControlStateNormal];
[self.tabBarItem setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor whiteColor],NSFontAttributeName : [UIFont fontWithName:@"Helvetica" size:12.0]} forState:UIControlStateNormal];
设置导航栏文字颜色与大小
self.navigationBar.barTintColor = MAINColor;
[self.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor whiteColor],NSFontAttributeName : [UIFont fontWithName:@"Helvetica" size:12.0]}];
//.设置状态栏样式
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
设置tabbar不透明
self.tabBar.translucent = NO;