ios7.0在故事板 tab bar 屬性設置中設置 p_w_picpath tint顏色值可以實現, ios7.1中該方法不起作用,可以在代碼中加入下句實現
[self.tabBarController.tabBarsetSelectedImageTintColor:[UIColor greenColor]];
ios8中如下設置:
self.tabBar.tintColor=[UIColor greenColor];
ios7.0在故事板 tab bar 屬性設置中設置 p_w_picpath tint顏色值可以實現, ios7.1中該方法不起作用,可以在代碼中加入下句實現
[self.tabBarController.tabBarsetSelectedImageTintColor:[UIColor greenColor]];
ios8中如下設置:
self.tabBar.tintColor=[UIColor greenColor];