使用自定义图像时,选择后背景变为白色,标签图像会改变颜色(在png上完成)。但是,当我离开[[UITabBar appearance] setSelectedImageTintColor:nil];
这是默认值时,它会变为蓝色。我试过这个:
[[UITabBar appearance] setSelectedImageTintColor:[UIColor clearColor];
然而,这使它完全看不见!我确切地知道我需要它的png,但是我无法摆脱这种颜色。有没有办法阻止iOS这样做?