Xcode: UITextfield uneditable

Is there a way to make UItextfield immutable?

+4
source share
2 answers
[theTextField setEnabled: NO]; 
+10
source

Set the userInteractionEnabled property to NO .

+2
source

Source: https://habr.com/ru/post/1343545/


All Articles