Ios 快捷范围按钮文本颜色
我的应用程序的UI有问题。我不知道如何编辑范围栏上按钮的颜色以使其更清晰Ios 快捷范围按钮文本颜色,ios,swift,uisearchbar,Ios,Swift,Uisearchbar,我的应用程序的UI有问题。我不知道如何编辑范围栏上按钮的颜色以使其更清晰 任何帮助都将不胜感激 我想这会对你有帮助 self.segControl.tintColor = [UIColor blackColor]; [self.segControl setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor redColor]} forState:UIControlStateNormal]; 此处的更多信息:是否使用
任何帮助都将不胜感激 我想这会对你有帮助
self.segControl.tintColor = [UIColor blackColor];
[self.segControl setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor redColor]} forState:UIControlStateNormal];
此处的更多信息:是否使用UISegmentedControl?编程还是在InterfaceBuilder中?检查我正在使用InterfaceBuilder。尝试更改属性检查器中的“色调”或修复它,谢谢!