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];

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)