Specifies that the navigation bar contains a search bar.
- iOS 7.0–8.0Deprecated
When you return
true to display the search bar in a navigation bar, the system uses the search display controller’s
navigation property and ignores the navigation item, if set, of the
search view controller. The displayed search field occupies as much width in the navigation bar as possible.
A search bar displayed in a navigation bar cannot have a scope bar.