Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nekbeth

macrumors regular
Original poster
Feb 20, 2011
101
0
Vatican City
Hello, I've been trying to show the scope bar through the following code and delegate method without success. The strange thing is that if I change the property from showScopeBar to showsSearchResultsButton,.. it works. (the button gets hidden).


Code:
- (void)searchBarResultsListButtonClicked:(UISearchBar *)searchBar {
    
    
    if (searchBar) {
        
        
        srchbar.showsScopeBar = YES;
    }
    
}

I only have the UISearchBarDelegate and I'm using core data.


Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.