这是我设置图像的代码
[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"]];
我正在获取与标签栏高度相同的每个图像的高度,但它看起来像这样,底部的黑色边框也覆盖了图像的某些部分,请帮助我解决这个问题。