摘要: 转载自:http://www.cnblogs.com/lovecode/articles/2310977.html一、自定义TabBar选项卡背景默认UITabBarController的TabBar背景是黑色的,如何自定义成背景图片呢?UITabBarController *tabBarController = [[UITabBarController alloc] init];// 获取选项卡控制器视图的所有子视图,保存到一数组中NSArray *array = [tabBarController.view subviews];// 索引值为1的应该就是TabBarUITabBar *t. 阅读全文