Contents

init(localizedAttributedSuggestion:localizedDescription:iconImage:)

Creates a search suggestion with the specified attributed label, accessibility description, and image.

Declaration

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

Parameters

  • suggestion:

    An attributed 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