设置textfield的placeholder的字体和颜色
UITextField *textField = [[UITextFieldalloc] initWithFrame:CGRectMake(10,30, 300, 150)];
textField.placeholder =@"this is a textField";
[textField setValue:[UIColorredColor] forKeyPath:@"_placeholderLabel.textColor"];
[textField setValue:[UIFontboldsystemFontOfSize:30]forKeyPath:@"_placeholderLabel.font"];
textField.borderStyle =UITextBorderStyleRoundedRect;
[self.viewaddSubview:textField];