2017-11-11 215 views

回答

0

試試這個:

UIColor *color = [UIColor whiteColor]; 
textField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:placeholderText attributes:@{NSForegroundColorAttributeName: color}];