如何在UITabBar上没有色调

时间:2014-07-04 00:10:04

标签: objective-c uitabbarcontroller uitabbar

使用自定义图像时,选择后背景变为白色,标签图像会改变颜色(在png上完成)。但是,当我离开[[UITabBar appearance] setSelectedImageTintColor:nil];这是默认值时,它会变为蓝色。我试过这个:

[[UITabBar appearance] setSelectedImageTintColor:[UIColor clearColor];

然而,这使它完全看不见!我确切地知道我需要它的png,但是我无法摆脱这种颜色。有没有办法阻止iOS这样做?

0 个答案:

没有答案