8

Possible Duplicate:
How disable Copy, Cut, Select, Select All in UITextView

I have some text in a UITextView. I don't want it to be selectable. How can I do this?

0

2 Answers 2

11

Use myTextView.editable = NO;

1
  • 5
    or (since iOS7) textview.selectable = NO
    – Epaga
    Feb 23, 2014 at 17:15
1

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.