gpt4 book ai didi

ios - 在 Storyboard 中更改标签栏项目的选定颜色

转载 作者:IT王子 更新时间:2023-10-29 07:26:40 30 4
gpt4 key购买 nike

我想将我的标签栏项目更改为粉红色,而不是默认的蓝色。

我如何使用 Xcode 6 中的 Storyboard编辑器完成此操作?

这是我当前的设置,但无法正常工作,蓝色背景有效,但粉红色背景无效:

enter image description here

最佳答案

从 StoryBoard 添加名为“tintColor”的运行时颜色属性。这是可行的(对于 Xcode 8 及更高版本)。

如果您想要未选择的颜色..您也可以添加 unselectedItemTintColor

setting tintColor as Runtime Attribute

关于ios - 在 Storyboard 中更改标签栏项目的选定颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26835148/

30 4 0