I have a table in my view controller (navigation controller). It contains 5 rows. When I click on one 3rd row, a new view controller is pushed onto the stack. This new controller also contains a table view and the cells in that table view contains text fields (added using cell.contentView addSubView:). On clicking one of the text field, a picker is shown (using textField.inputView) instead of keyboard. Now, without selecting any item in picker, I click on back button, then my view gets popped. But after a while (when I am on my root view controller), the app gets crashed.
But If I click on a text field (which is showing keyboard), and then press back button; no crash occurs. So, what might be the problem??