pretty trivial question, I know. But I can not find anything online.
I need to disable the user from being able to edit the text inside of a text field. So that when the
you can use UILabel instead if you don't want the user to be able to modify anything in your UITextField
UILabel
UITextField
A programmatic solution would be to use enabled property:
enabled
yourTextField.enabled = false
A way to do it in a storyboard:
Uncheck the Enabled checkbox in the properties of your UITextField