I have a table that contains multiple custom tableViewCells each of which contains a textField. What I have discovered is that if I enter text into one text field, and (without pressing the done button on the keyboard) scroll the text field off screen to enter text into another cell, the app crashes when the view is changed. This occurs most frequently in landscape mode since the current tableViewCell needs to be scrolled offscreen to generate the error on view change.
What I believe is happening is that when the cell goes off screen, the connection between the cell and the keyboard is broken and that when the view is changed, removing they keyboard for a non visible (non existent) text field causes the crash.
I am sure this is a simple fix, but I haven't found it yet.
Thanks in advance.