<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Picker/init(_:systemImage:selection:content:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI6PickerVA2A5LabelVyAA4TextVAA5ImageVGRszrlE_06systemF09selection7contentACyAJq_q0_GAA18LocalizedStringKeyV_SSAA7BindingVyq_Gq0_yXEtcfc::OverloadGroup"
  },
  "title" : "init(_:systemImage:selection:content:)"
}
-->

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

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

```
@export(implementation) 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

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

---

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)