I know that there is a searchDisplayController.searchBar.showsScopeBar property, but in my search, even if we set showsScopeBar to NO, but set its searchDisplayController.searchBar.scopeButtonTitles property for some array, the area panel is displayed with the specified headers. Setting showsScopeBar to YES and setting scopeButtonTitles to nil does not show scopeBar .
So, I think the showsScopeBar property showsScopeBar really not useful, but showing or hiding the scopeBar actually depends on whether the array is set to the scopeButtonTitles property.
Is it possible? Or am I missing something else.
source share