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

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

Creates a picker bound to a collection of bindings that accepts a
custom current value label and generates its label from a string.

```
@export(implementation) nonisolated init<C, S>(_ title: S, systemImage: String, sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ContentBuilder content: () -> Content, @ContentBuilder currentValueLabel: () -> some View) where C : RandomAccessCollection, S : StringProtocol, C.Element == Binding<SelectionValue>
```

## Parameters

`title`

A string that describes the purpose of selecting an option.

`systemImage`

The name of the image resource to lookup.

`sources`

A collection of values used as the source for displaying
the Picker’s selection.

`selection`

The key path of the values that determines the
currently-selected options. When a user selects an option from the
picker, the values at the key path of all items in the `sources`
collection are updated with the selected option.

`content`

A view that contains the set of options.

`currentValueLabel`

A view that represents the current value of the picker.

---

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)