2
這裏完美地顯示是我的代碼來設置圖像
[tabItem0 setFinishedSelectedImage:[UIImage imageNamed:@"home_selected.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"home_selected.png"]];
[tabItem1 setFinishedSelectedImage:[UIImage imageNamed:@"info.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"info.png"]];
[tabItem2 setFinishedSelectedImage:[UIImage imageNamed:@"like.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"like.png"]];
[tabItem3 setFinishedSelectedImage:[UIImage imageNamed:@"twitter.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"twitter.png"]];
我走的每圖像的高度相同標籤欄的高度,但它正在尋找像這樣,底部還有一個黑色邊框,它也覆蓋了一部分圖像,請幫我解決這個問題。
怎麼樣的圖像大小? – satheeshwaran 2013-04-04 09:19:52
你對每一個形象的高度意味着什麼? – jkk 2013-04-04 09:20:39