Contents

allowsDeletingTokens

A Boolean that indicates whether the user can remove tokens from the search field.

Declaration

var allowsDeletingTokens: Bool { get set }

Discussion

The default value for this property is true.

You can always remove tokens programmatically. When this value is true, the user can also delete tokens and your app needs to handle tokens being re-added to the field with Undo.

See Also

Supporting token interactions