I'm facing an issue - when UISearchBar is activated then inputAccessoryView gets hidden and doesn't show up even after de-activation of UISearchBar searching in iPad.
Video
Steps to the issue
- Start UISearchbar editing
- Cancel UISearchBar editing
- Observe the inputAccessoryView visibility before and after editing
Storyboard
Please find the code in this repo - InputAccessoryView_Issue and feel free to commit your solution in the repo itself or here in Stackoverflow.
TIA


The solution that I found was to make the detail controller as first responder immediately after Searchbar ends editing. Below is the sample code for the same:
And in DetailViewController:
It worked for me and hopefully, it works for everyone else as well!