I m noticing that on one of my segmentedcontrols, it is hard to see which segment is selected. I was thinking I could bold the font, or increase the font size just slightly. I m trying this, but it s not working:
UIFont *boldFont = [UIFont boldSystemFontOfSize:16.0];
NSDictionary *fontDict = [[NSDictionary alloc] initWithObjectsAndKeys:boldFont, UITextAttributeFont, nil];
[_tableSegmentedControl setTitleTextAttributes:fontDict forState:UIControlStateSelected];
My text looks the same in both segments of the segment control. Do I need to do something like this instead? Change textColor in UISegmentedcontrol
我希望在可能时增加外观的情况下,在5号SOS采取更为容易的办法。 感谢。