添加placehold颜色
This commit is contained in:
@@ -458,6 +458,8 @@
|
|||||||
if (!_searchField) {
|
if (!_searchField) {
|
||||||
_searchField = [[UITextField alloc] init];
|
_searchField = [[UITextField alloc] init];
|
||||||
_searchField.placeholder = KBLocalized(@"Search Role");
|
_searchField.placeholder = KBLocalized(@"Search Role");
|
||||||
|
_searchField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:KBLocalized(@"Search Role")
|
||||||
|
attributes:@{NSForegroundColorAttributeName: [UIColor whiteColor]}];
|
||||||
_searchField.textColor = [UIColor whiteColor];
|
_searchField.textColor = [UIColor whiteColor];
|
||||||
_searchField.font = [UIFont systemFontOfSize:14];
|
_searchField.font = [UIFont systemFontOfSize:14];
|
||||||
_searchField.clearButtonMode = UITextFieldViewModeWhileEditing;
|
_searchField.clearButtonMode = UITextFieldViewModeWhileEditing;
|
||||||
|
|||||||
Reference in New Issue
Block a user