I want to implement functionality in my UISearchController
, with ScopeBar
, where I don't want my scope bar to be hidden. I want it to always be visible and functional. Currently, it is visible on the first view load and then hides after search filter is applied. Then, going forward, it always becomes visible on a click of the search bar.
If you want the Scope Bar to always be visible, you may want to hook up a separate UISegmentedControl and not use the Scope Bar at all so you do not have to mess around with UISearchController's default behavior.
Also, this question may help guide you to an answer.