Highlighted and Highlighted Text Color

suggest change

Objective-C

UILabel *label = [[UILabel alloc] init];
label.highlighted = YES;
label.highlightedTextColor = [UIColor redColor];

Swift

let label = UILabel()
label.highlighted = true
label.highlightedTextColor = UIColor.redColor()

Swift 3

let label = UILabel()
label.isHighlighted = true
label.highlightedTextColor = UIColor.red

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents