D
D
David Koifman2017-08-20 08:24:42
iOS
David Koifman, 2017-08-20 08:24:42

How to make it impossible to delete text from textView?

In my application, I use TextView to display information on the screen
. I write information in the code. Everything works, but the problem is when I run the simulator and check the application as a user, I can delete information or even print something of my own. My application is designed for reading information and not for the fact that the user writes his notes. The question is how to make it so that the user cannot delete my information and print his own? To make it more clear, I attached a video: https://youtu.be/PDI9CVTHlfo

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-08-20
@Davka1900

textview.editable = false;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question