【发布时间】:2018-01-30 15:13:02
【问题描述】:
快速提问,有谁知道如何以编程方式将 textField 中的文本设为 bold 或 italic?
@property(nonatomic, retain) IBOutlet UITextField *textField_TOP_01;
[textField_TOP_01 setTextColor:[UIColor redColor]];
[textField_TOP_01 setText:@"This text is bold"];
非常感谢
加里
【问题讨论】:
标签: iphone objective-c cocoa-touch