<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "macOS: 10.4.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotation/allowsToggleToOff",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFAnnotation(py)allowsToggleToOff"
  },
  "title" : "allowsToggleToOff"
}
-->

# allowsToggleToOff

A Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.

```
var allowsToggleToOff: Bool { get set }
```

## Discussion

To implement a group of radio buttons where at least one option must remain in a selected state, set [`allowsToggleToOff`](/documentation/PDFKit/PDFAnnotation/allowsToggleToOff) to <doc://com.apple.documentation/documentation/Swift/false> on each button in the group.

---

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)