Open ismaelShabrawy opened 10 months ago
When using InputBarAccessoryView
as an inputAccessoryView
of a UIViewController
, you should be making the view controller the first responder. It is expected that when it is not the first responder, the input bar is hidden.
https://developer.apple.com/documentation/uikit/uiresponder/1621119-inputaccessoryview
Possibly my issue is similar: https://github.com/nathantannar4/InputBarAccessoryView/issues/266
Dears,
Now the app have view controller has the tableview to show realtime chat message and we added InputBarAccessoryView and implement it and it working .
but we have a search bar when this search bar get focus and user type in the InputBarAccessoryView and the input text disappear from the screen and even in the debug view hierarchy as the attached images:
before the search bar get focus the input text appears :
after the search bar focused and the user type :
so I need to show the InputBarAccessoryView again after the user finish searching
I used this before focus searchbar
and this after the user end search or clicks the cancel button:
and still not visible to the user
Thanks