I have two controllers with UITextFields on them. I need a custom transition between them with the keyboard shown, alongside transition.
When I'm using the default push animation, everything is good. But if I return my transition class from animationControllerForOperation, the keyboard is hiding before and showing after the transition.
So, could someone suggest to me a solution or explanation, why the keyboard is hiding with the custom transition? Transition duration = 0.4, I've set [textField becomeFirstResponder] in viewDidLoad.
Here is a video: https://www.youtube.com/watch?v=gs16tMsU4qY
Take a look at UIViewControllerTransitionCoordinator class.
Here is the answer to the similar issue: https://stackoverflow.com/a/21017900
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With