2016年2月18日

不错的判断 UITextView 内容不超过20个字符串的方法

摘要: 1 - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text{ 2 3 if ([text isEqualToString:@"\n" 阅读全文

posted @ 2016-02-18 20:52 活最好的自己 阅读(429) 评论(0) 推荐(0) 编辑

导航