在iOS开发中,设置tabBarItem.image图片渲染模式 imageWithRenderingMode属性为UIImageRenderingModeAlwaysOriginal ,即可使图片显示原始状态.
代码示例:
firstNAVC. tabBarItem . image = [[ UIImage imageNamed : @"hiSelect" ] imageWithRenderingMode : UIImageRenderingModeAlwaysOriginal ];