Can I set the attributedText property of a UILabel object? I tried the below code:
attributedText
UILabel
UILabel *label = [[UILabel alloc] init]; label.a
For people using swift, here's a one-liner:
myLabel.attributedText = NSMutableAttributedString(string: myLabel.text!, attributes: [NSFontAttributeName:UIFont(name: "YourFont", size: 12), NSForegroundColorAttributeName: UIColor.whiteColor()])