UIColor *color = [UIColor whiteColor];
self.userNameTB.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"请输入您的账号" attributes:@{NSForegroundColorAttributeName: color}];
self.userPwdTB.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"请输入您的密码" attributes:@{NSForegroundColorAttributeName: color}];
网友评论