---
title: "init(_:symbolName:localizedIndexTitles:)"
framework: avfoundation
role: symbol
role_heading: Initializer
path: "avfoundation/avcaptureindexpicker/init(_:symbolname:localizedindextitles:)"
---

# init(_:symbolName:localizedIndexTitles:)

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

## Declaration

```swift
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

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

## See Also

### Creating an index picker

- [init(_:symbolName:numberOfIndexes:)](avfoundation/avcaptureindexpicker/init(_:symbolname:numberofindexes:).md)
- [init(_:symbolName:numberOfIndexes:localizedTitleTransform:)](avfoundation/avcaptureindexpicker/init(_:symbolname:numberofindexes:localizedtitletransform:).md)
