---
title: "init(_:systemImage:selection:content:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/picker/init(_:systemimage:selection:content:)"
---

# init(_:systemImage:selection:content:)

Creates a picker that generates its label from a localized string key and system image.

## Declaration

```swift
nonisolated init(_ titleKey: LocalizedStringKey, systemImage: String, selection: Binding<SelectionValue>, @ContentBuilder content: () -> Content)
```

## Parameters

- `titleKey`: A localized string key that describes the purpose of selecting an option.
- `systemImage`: The name of the image resource to lookup.
- `selection`: A binding to a property that determines the currently-selected option.
- `content`: A view that contains the set of options.

## Discussion

Discussion This initializer creates a Text view on your behalf, and treats the localized key similar to init(_:tableName:bundle:comment:). See Text for more information about localizing strings.

## See Also

### Creating a picker with an image label

- [init(_:image:selection:content:)](swiftui/picker/init(_:image:selection:content:).md)
- [init(_:image:sources:selection:content:)](swiftui/picker/init(_:image:sources:selection:content:).md)
- [init(_:systemImage:sources:selection:content:)](swiftui/picker/init(_:systemimage:sources:selection:content:).md)
