摘要: UITextView 默认没有 pleaceholder属性;我们可以通过多种方式添加在UITextView的代理方法中写- (void)textViewDidBeginEditing:(UITextView *)textView{ if ([textView.text isEqualToString:@"建议字数在300字左右"]) { textView.text = @""; textView.textColor = [UIColor blackColor]; //optional } [textView becomeFirstResponde... 阅读全文
posted @ 2013-10-31 13:38 cocoajin 阅读(291) 评论(0) 推荐(0)