<!--
{
  "availability" : [
    "tvOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TVUIKit",
  "identifier" : "/documentation/TVUIKit/TVDigitEntryViewController/clearEntry(animated:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "TVUIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TVDigitEntryViewController(im)clearEntryAnimated:"
  },
  "title" : "clearEntry(animated:)"
}
-->

# clearEntry(animated:)

Removes all digits from the digit entry view.

```
func clearEntry(animated: Bool)
```

## Parameters

`animated`

A Boolean value indicating whether the digit entry view animates when the digits are cleared.

## Discussion

The digit entry view animates the digit removal when the `animated` parameter is `YES`.

---

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)