I'm writing an iOS application and I'm coming across a small visual bug. When the user is on a certain view controller and presses a button they are sent to the next view controller using [self.navigationController pushViewController:myViewController animated:YES]
There are two text fields and two buttons on the view controlled by the view controller. When the user is typing into one of the text fields and clicks either of the buttons the keyboard disappears downward while the view either disappears left or right.
What I want is what happens in the Notes app if the user is typing a note and clicks the left navigation bar button titled "Notes" where the keyboard leaves with the view.