Is it possible to get string of UISearchContoller's segment controls ?
We get index path of that in this way
searchController.searchBar.selectedScopeButtonIndex
But instead of indexPath, I want to get the String.
searchController.searchBar.scopeButtonTitles![searchController.searchBar.selectedScopeButtonIndex]