---
title: "init(localizedSuggestion:localizedDescription:iconImage:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uisearchsuggestionitem/init(localizedsuggestion:localizeddescription:iconimage:)"
---

# init(localizedSuggestion:localizedDescription:iconImage:)

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

## Declaration

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

- [init(localizedAttributedSuggestion:localizedDescription:iconImage:)](uikit/uisearchsuggestionitem/init(localizedattributedsuggestion:localizeddescription:iconimage:).md)
- [init(localizedSuggestion:localizedDescription:)](uikit/uisearchsuggestionitem/init(localizedsuggestion:localizeddescription:).md)
- [init(localizedAttributedSuggestion:localizedDescription:)](uikit/uisearchsuggestionitem/init(localizedattributedsuggestion:localizeddescription:).md)
- [init(localizedSuggestion:)](uikit/uisearchsuggestionitem/init(localizedsuggestion:).md)
- [init(localizedAttributedSuggestion:)](uikit/uisearchsuggestionitem/init(localizedattributedsuggestion:).md)
