I created a custom push/pop transition in Navigation Controller. Everything is fine, except for one little fact: when I swipe back keyboard doesn't anchor to the poped view controller.
Here is some pictures to demonstrate what's happening and what do I want.
This happens only if I replace standard animator using UInavigationControllerDelegate method.
public func navigationController(
_ navigationController: UINavigationController,
animationControllerFor operation: UINavigationController.Operation,
from fromVC: UIViewController, to toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? {
return TransparentAnimator(operation: operation)
}