isActive
The presented state of the search interface.
Declaration
var isActive: Bool { get set }Discussion
When the user taps in the search field of a managed search bar, the search controller automatically displays the search results controller. Usually, you get the value of this property to determine whether the search results are displayed. However, you can set this property to true to force the search interface to appear, even if the user hasn’t tapped in the search field.
The default value of this property is false.