searchBar(_:selectedScopeButtonIndexDidChange:)
Tells the delegate that the scope button selection changed.
Declaration
optional func searchBar(_ searchBar: UISearchBar, selectedScopeButtonIndexDidChange selectedScope: Int)Parameters
- searchBar:
The search bar that was tapped.
- selectedScope:
The index of the selected scope button (see Selectedscopebuttonindex).