0
I updated the XCode
for Swift 3
last week and he converted all my code to the version of Swift 3
. After that I’m trying to set the text inside a UITextField
and it doesn’t work. I’ve already redid all the connections from UI
with the code but does not work.
When I type inside the UITextFiled
appears, but when I try to set the text programmatically does not appear.
@IBOutlet weak var codigoTextField: UITextField!
codigoTextField.text = "3654"
If you can, send the complete code of your Viewcontroller that makes it easier to understand what is happening.
– Jan Cássio
I did some tests creating a new project and everything works normally. It seems that there was some problem at the time of export to version 3 of
Swift
– GuiDupas