After upgrading to xcode 14, override of the inputAccessoryView of a UIViewController causes animation issues during push / pop UINavigationController transitions. (on xcode 13, no issues)
override var inputAccessoryView: UIView? {
return myCustomInputBar
}
override var canBecomeFirstResponder: Bool{
return true
}
The two main issues are:
The inputAccessoryView flashes / appears above the current view you're transitioning away from. (inputAccessoryView should display only within the confines of it's UIViewController)
The push / pop transition animation is not smooth. The new screen moves forward and then backwards briefly before continuing forward again.
https://developer.apple.com/forums/thread/721301 (this issue mentions the same thing)
Here's screenshots of the inputAccessoryView appearing prematurely:
Here's Videos of the issue: Broken push animation / input bar flash
Broken pop animation / input bar flash
Current workaround: Only show inputBarAccessoryView in viewDidAppear, which fixes the animation problems during the navigationController transition but this causes a significant delay.
Has anyone else run into this issue? Any help would be very much appreciated.

