iPhone UITextField - Change placeholder text color

iPhone UITextField - Change placeholder text color

answer:
[self.myTextField setValue:[UIColor darkGrayColor] forKeyPath:@"_placeholderLabel.textColor"];

你可能感兴趣的:(iPhone UITextField - Change placeholder text color)