you can use UILabel
instead if you don't want the user to be able to modify anything in your UITextField
A programmatic solution would be to use enabled
property:
yourTextField.enabled = false
A way to do it in a storyboard:
Uncheck the Enabled checkbox in the properties of your UITextField