I am trying to display numbers on UILabel with bold black font and size 50.
After some unsuccessful attempts, I realized that no matter what color I set with the font, it always gets a lightGray value. Is there anything else I need to do other than below?
[DisplayLabel setFont:[UIFont fontWithName:[NSString stringWithUTF8String:"HelveticaNeue-Bold"] size:50]]; DisplayLabel.textColor = [UIColor brownColor]; DisplayLabel.textAlignment = NSTextAlignmentCenter;
I add a shortcut using the storyboard to the view.
source share