<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.12.0"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotationChoiceWidget/setIsListChoice(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFAnnotationChoiceWidget(im)setIsListChoice:"
  },
  "title" : "setIsListChoice(_:)"
}
-->

# setIsListChoice(_:)

Sets whether the widget annotation is a list.

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

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

---

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)