<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureIndexPicker/init(_:symbolName:localizedIndexTitles:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureIndexPicker(im)initWithLocalizedTitle:symbolName:localizedIndexTitles:"
  },
  "title" : "init(_:symbolName:localizedIndexTitles:)"
}
-->

# init(_:symbolName:localizedIndexTitles:)

Creates an object to select an index from a set of values.

```
init(_ localizedTitle: String, symbolName: String, localizedIndexTitles: [String])
```

## Parameters

`localizedTitle`

A localized title that describes the control’s action.

`symbolName`

The name of an SF Symbol that represents the control.

`localizedIndexTitles`

The titles to use for each index. The array must not be empty.

## Discussion

Create a picker with this initializer when you already have an array containing a title for each picked value.

---

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)