Type Method

tokenWithIcon:text:

Creates a search token with the specified text and icon (if any).

Declaration

+ (UISearchToken *)tokenWithIcon:(UIImage *)icon text:(NSString *)text;

Parameters

icon

An image to display with the text.

text

The text to display on the search token.

Return Value

A new search token.

See Also

Creating a Search Token

representedObject

The object represented by the search token.