2014-06-25 35 views

回答

0

當您設置的UITabBarItem形象,把它作爲:

UIImage *tabBarItemImage = [originalImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; 

這告訴的iOS 7不以治療圖像作爲模板圖像。

有關更多信息,請參閱UIImage class reference

+0

我在故事板中添加圖像。那裏有什麼選擇嗎? –

+0

對不起,我不知道,因爲我不使用故事板 – liamnichols

+0

@liminichols它是如何工作的ios6? –