Instance Property

active

The visibility state of the search interface.

Declaration

@property(nonatomic, getter=isActive) BOOL active;

Discussion

The default value is NO.

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.

See Also

Displaying the Search Interface

- setActive:animated:

Displays or hides the search interface, optionally with animation.

Deprecated