1. UITextView
限制字长
http://blog.csdn.net/fengsh998/article/details/45421107
光标位置
http://blog.csdn.net/ouy_huan/article/details/7513108
UITextView *_textView=[[UITextView alloc]initWithFrame:self.view.frame];
_textView.text=textString;
_textView.selectedRange=NSMakeRange(0,0) ; //起始位置
_textView.selectedRange=NSMakeRange(textString.length,0);
3, 自定义控件
http://blog.csdn.net/iamfreedom2011/article/details/18698403