SearchSuggestion
public struct SearchSuggestion
Search suggestion data.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes search suggestion instance with an icon, title, subtitle and a query string.
Declaration
Swift
public init(icon: UIImage, title: String, subtitle: String, query: String)
-
Icon on the suggestion item.
Declaration
Swift
public let icon: UIImage
-
Suggestion title.
Declaration
Swift
public let title: String
-
Suggestion subtitle.
Declaration
Swift
public let subtitle: String
-
Query that should be inserted to the search field.
Declaration
Swift
public let query: String