- 博客(1)
- 收藏
- 关注
转载 取得UITextView中的光标所在位置的代码
<br /><br />//You can got the selection range of the textView, and you can get the "stringToCursor" from head to the cursor.<br />int Len = inputTextView.selectedRange.location;<br />NSString *allString = inputTextView.text;<br />NSString *stringToCursor =
2010-08-12 15:30:00 8943 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人