自定義TabBarController
例如: @interface mainTabBarController : UITabBarController
修改顔色:
self.tabBar.tintColor = [UIColor redColor]; ( 背景顔色修改為紅色)
在自己的NavigationController 添加p_w_picpath . title
self.tabBarItem.p_w_picpath = [UIImage p_w_picpathNamed:@"icon_b.png"];
self.tabBarItem.title = @"首頁";
轉載于:https://blog.51cto.com/qccccc/1557174