修改UITextField中的placeholder的字体 HarrySun 2018-01-18 592 阅读1分钟 修改字体颜色: [textField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"]; 修改字体大小: [textField setValue:[UIFont boldSystemFontOfSize:16] forKeyPath:@"_placeholderLabel.font"];