Changing selected scope button in UISearchBar does not toggle UISearchResultsUpdating updateSearchResultsForSearchController:

Number:rdar://17969101 Date Originated:08/09/2014
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8b5
Classification: Reproducible:Always
Changing the scope of a UISearchBar in a UISearchController should call 
UISearchResultsUpdating updateSearchResultsForSearchController:. The documentation for this method states, "This method is automatically called whenever the search bar becomes the first responder or changes are made to the text or scope of the search bar." The former is working, the latter is not.

Steps to Reproduce:
Run attached example app and look at console when switching between scope buttons. You won't see output. All code is in MasterViewController viewDidLoad and updateSearchResultsForSearchController:.  Or...

1. New project with a UISearchController with scope buttons
2. Implement the UISearchResultsUpdating protocol
3. Run and toggle scope buttons

Expected Results:
updateSearchResultsForSearchController: called when toggling scope buttons

Actual Results:
updateSearchResultsForSearchController: not called



iPhone simulator



Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!