I have a Notes-like app: UITableViewController
showing up individual notes by pushing them onto navigation stack.
The problem arises when I have UITextView
with the FirstResponder status (keyboard is shown) and I touch Back button. The current view controller is dismissed with the animation as expected, BUT the navigation bar is broken now! If I press any of the bar buttons, it will cause EXC_BAD_ACCESS.
I would say that it was not transitioned properly. The table VC is broken somehow as well, as it may appear empty on further manipulations... Very strange behaviour!
By the way, it did not cause any problems with iOS5 and iOS6, but there I used a custom chevron Back button.
I've checked the standard Notes app and it works like a charm. What is the trick?
Thanks a lot for your advice!
[self.navigationController popViewControllerAnimated:YES];
intextViewDidEndEditing:
if no text was added into the view. And it might overlap with ongoing popViewController-animation triggered by Back button.