//设置textFieldplaceholder字体的颜色,默认是灰色
 UIColor *color = [UIColor whiteColor];
 self.loginNumText.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"请输入用户名" attributes:@{NSForegroundColorAttributeName: color}];

相关文章:

  • 2022-12-23
  • 2022-01-21
  • 2022-01-20
  • 2022-02-19
  • 2021-11-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2022-02-18
  • 2022-03-02
  • 2022-01-21
  • 2022-01-17
  • 2022-01-25
相关资源
相似解决方案