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

# setIsListChoice(_:)

Sets whether the widget annotation is a list.

## Declaration

```swift
func setIsListChoice(_ isList: Bool)
```

## Parameters

- `isList`: Send doc://com.apple.documentation/documentation/Swift/true to set the choice widget annotation is a list, doc://com.apple.documentation/documentation/Swift/false otherwise.

## Discussion

Discussion A choice widget annotation can be either a list or a pop-up menu.

## See Also

### Determining the Type of Choice Widget Annotation

- [isListChoice()](pdfkit/pdfannotationchoicewidget/islistchoice().md)
