【发布时间】:2015-06-22 19:11:52
【问题描述】:
我正在尝试为 UITabBar 选项卡的 selectedImage 指定图像。此图像包含在资产目录文件夹中。图片名为secondActive。
但是,模拟器中显示的图像并不代表图像。它只是一个蓝色方块。当tintColor 改变时,方块的颜色也会改变。
我在 User Defined Runtime Attributes 和 Attributes Inspector 中指定选项卡的 selectedImage。
为什么标签栏的selectedImage 不能正常显示?
【问题讨论】:
标签: ios storyboard uitabbar