<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISearchSuggestionItem/init(localizedAttributedSuggestion:localizedDescription:iconImage:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UISearchSuggestionItem(im)initWithLocalizedAttributedSuggestion:localizedDescription:iconImage:"
  },
  "title" : "init(localizedAttributedSuggestion:localizedDescription:iconImage:)"
}
-->

# init(localizedAttributedSuggestion:localizedDescription:iconImage:)

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

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)