changing the text color of a UILabel
The question was already answered for the OP, but for the sake of other people who come here trying to change a label's text color, use the textColor
property:
Swift
myLabel.textColor = UIColor.red // or .red
Objective-C
myLabel.textColor = [UIColor redColor];
They need to be connected in Interface Builder.
You can also set the UIColor via RGB values like so:
myLabel.textColor= [UIColor colorWithRed:(160/255.0) green:(97/255.0) blue:(5/255.0) alpha:1];