isActive
The visibility state of the search interface.
Declaration
var isActive: Bool { get set }Discussion
The default value is false.
If you set this value directly, any change is performed without animation. Use setActive(_:animated:) if a change in state should be animated.
When the user focus in the search field of a managed search bar, the search display controller automatically displays the search interface. You can use this property to force the search interface to appear.