Contents

init(localizedSuggestion:localizedDescription:iconImage:)

Creates a search suggestion with the specified text and image attributes.

Declaration

init(localizedSuggestion suggestion: String, localizedDescription description: String?, iconImage: UIImage?)

Parameters

  • suggestion:

    A label for the suggestion, usually the search term the suggestion represents.

  • description:

    A description of the suggestion. The system uses this description for accessibility.

  • iconImage:

    An image for display on the suggestion.

See Also

Creating a search suggestion