iOS 17.1.1 canBecomeFirstResponder gets called twice

Our iOS apps don't run properly after iOS 17.1.1 update. Our apps calls becomeFirstResponder when user taps on an editor button. And then it automaticalls calls the canBecomeFirstResponder command. In iOS 17.1.1 somehow the canBecomeFirstResponder gets called twice. As the variables and conditions are changed when the second call is made, everything gets messed up afterwards. Does anyone else have a similar issue? I'd appricaite it if someone can tell me this is an iOS bug that will be fixed, or if there is a workaround to fix this problem. Thanks.

iOS 17.1.1 canBecomeFirstResponder gets called twice
 
 
Q