---
title: "setChoices(_:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfannotationchoicewidget/setchoices(_:)"
---

# setChoices(_:)

Sets the items available in the list or pop-up menu of the choice widget annotation.

## Declaration

```swift
func setChoices(_ options: [Any]!)
```

## Parameters

- `options`: Send an array of strings, each of which represents an item in the list or pop-up menu of the choice annotation widget.

## See Also

### Accessing the Items in the Choice Widget Annotation

- [choices()](pdfkit/pdfannotationchoicewidget/choices().md)
