UIImage *img =[UIImage imageNamed:@"我的1.png"];
UIImage *img2 =[UIImage imageNamed:@"我的.png"];
self.tabBarItem.selectedImage =[img imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
self.tabBarItem.image=[img2 imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
时间: 2024-10-27 16:59:51