2014-01-06 30 views

回答

1

您可以更改第一個響應事件的UITextField的佔位符顏色像在委託方法

-(BOOL)textFieldShouldBeginEditing:(UITextField *)textField 
{ 
    [textField setValue:[UIColor yellowColor] forKeyPath:@"_placeholderLabel.textColor"]; 
    return YES; 
} 
相關問題