【发布时间】:2025-12-26 08:45:17
【问题描述】:
在我的应用委托中,我有这个:
UIColor* color = [UIColor colorWithRed:36/255.0f green:38/255.0f blue:56/255.0f alpha:1.0f];
[[UIBarButtonItem appearance] setTintColor:color];
我想为按下状态设置另一种颜色。
如何在不使用背景图片的情况下实现这一点?
【问题讨论】:
-
试试这个链接来回答你的帖子:*.com/questions/4012664/…Thanks..!
标签: ios xcode uiappearance