0 Replies
      Latest reply on May 30, 2019 2:02 AM by vyshu
      vyshu Level 1 Level 1 (0 points)

        Currently app has an avplayer controller behind search controller. Videos will be playing behind search controller. when videos are played continuously from different parts of UI “search bar” is not updating. Keypad is responding to the gestures but search bar is updating selected text from keypad. None of the search bar delegates are being called. Though search bar is not updating on select search bar is updating when voice search is done. Search bar delegates are being called and search bar is updating correctly when voice search is done.


          Currently hierarchy of Search controller is as follows :


           Search controller is embedded in search container and placed on top of a view controller.  Search controller has an object “searchResultsUpdater” for updating the content of the search results controller. Search bar has following delegates


        1. searchBar(_ searchBar: UISearchBar, textDidChange searchText: String)