I figured out how to make the UITextField transparent, but I now need to make the placeholder text white. Is this possible? Thanks in advance for your help!
Asked
Active
Viewed 45 times
1 Answers
0
Try this:
UIColor *color = [UIColor whiteColor];
textField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:placeholderText attributes:@{NSForegroundColorAttributeName: color}];

nanibir
- 234
- 1
- 9