SyntaxFix
Write A Post
Hire A Developer
Questions
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 }