Contents

resignsFirstResponderWithCancel

A Boolean value that enables the cancel button in the search field to resign the first responder in addition to clearing the contents.

Declaration

var resignsFirstResponderWithCancel: Bool { get set }

Discussion

The default value is true. If set to false, the cancel button only clears the contents of the search field.

See Also

Configuring a search item