I have UITableViewController
that segues to another tvc
. In this vc
, the first cell
has a UITextField
.
Firstly, if I go on the storyboard
and set a placeholder text
for the UITextField
, when I then try to segue to the vc
with the textfield
, the app freezes. However, Xcode doesn't report any crashes or errors. The app is simply blocked to the user.
What's interesting is that although the app is frozen, the segue still occurs, since if I print something from viewDidLoad
it shows up on the console.
Something similar happens if I disable the placeholder text
. If keep typing into the textfield
, the app eventually freezes.
I have not seen this behavior previously when dealing with UITextFields
. How can I fix this and why is it occurring?
I'm running XCode 7.2.
Try "Erase all content and settings" in the simulator.
This is how to do it on XCode 11.5