TextView里限制输入字数的方法

       一开始采用的方法是函数textView:shouldChangeTextInRange:replacementText:来进行判断:函数 //键入Done时,插入换行符,而后执行addBookmark - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range repl
相关文章
相关标签/搜索