开发者

How can I make a UITextView not selectable? [duplicate]

This question already has answers here: Closed 10 years ago.

Possible Duplicate:

How disable Copy, Cut, Select, Select All in UITextView

I have some text in a UITextView. I d开发者_如何学运维on't want it to be selectable. How can I do this?


Use myTextView.editable = NO;


Are there any features of the UITextView that you need that would not be available with a UILabel in a UIScrollView? Seems like the only thing you would lose is automatically setting the contentSize, which is easy enough to do manually.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜