Hi, I'm using UIViewControllerAnimatedTransitioning in order to do custom animates when I transition between view controllers in my navigation controller.
Some of my views have textfields on them, and sometimes I want those textfields to be the first responder immediately when the view comes on screen. In my VC for those views, I am calling becomeFirstResponder() on the relevant textfield in viewDidLoad() (I've also tried it in viewWillAppear()).
The problem is that the keyboard always dismisses when I trigger the segue, and then pops back up again when the animation finishes. It doesn't seem to behave like this when I use the default UINavigationController animations.
Does anyone have any idea how to stop it from happening, since it's really ugly with the keyboard popping in and out all the time, and I think I might have to abandon the custom animations altogether if I can't get it to work.