设置textfiel的Placeholder textfield.attributedPlaceholder=[[NSAttributedString alloc]initWithString:@"请输入"attributes:@{NSForegroundColorAttributeName:kTextColor999999}]; iOS 2024-08-30 196 点赞 2 评论 296 浏览