开发者

Non-editable UITextView requires double tap

I have a UITextView and I unchecked "Editable" in IB. The text value of the text view is programmatically changed. However, the user needs to tap on the text view for it to be altered. When "Editable" is enabled, the text view requires only 1 tap to enable, but now that I've unchecked "Editable", it's requiring 2 t开发者_StackOverflowaps to enable. How can I leave it un-editable but require only 1 tap to enable?


You could use a UILabel in a UIScrollView if you want to hide the cursor and dont need cursor-related features (cursor placement, highlighting text etc).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜