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
In swift 5, I used following code to disable the textfield
override func viewDidLoad() { super.viewDidLoad() self.textfield.isEnabled = false //e.g self.design.isEnabled = false }