语言 swift2.0
tabbarImage 选中后的图片
let tabitem:[UITabBarItem] = self.tabBar.items!
tabitem[0].title = "标题"
tabitem[0].image = UIImage(named: "图片")?.imageWithRenderingMode( UIImageRenderingMode.AlwaysOriginal)
tabitem[0].selectedImage = UIImage(named: "选中的图片")?.imageWithRenderingMode( UIImageRenderingMode.AlwaysOriginal)
navigationBar的背景颜色和title的字体颜色
//设置字体颜色
self.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName:UIColor.whiteColor()]
//设置背景颜色
self.navigationBar.barTintColor = UIColor(red:233.0/255.0,green:106.0/255.0,blue:52.0/255.0,alpha:1)