摘要:
ViewController中,常用touch事件关闭编辑事件,收起键盘。-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self.view endEditing:YES]; }但是addSubview的... 阅读全文
摘要:
原文地址:详释(常见UITextView 输入之字数限制)之一---固定长度对UITextView输入的字数进行限制,常用UITextView的Delegate:- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRa... 阅读全文