Contents

init(localizedAttributedSuggestion:localizedDescription:)

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

Declaration

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

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.

See Also

Creating a search suggestion