---
title: "clearEntry(animated:)"
framework: tvuikit
role: symbol
role_heading: Instance Method
path: "tvuikit/tvdigitentryviewcontroller/clearentry(animated:)"
---

# clearEntry(animated:)

Removes all digits from the digit entry view.

## Declaration

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

## Parameters

- `animated`: A Boolean value indicating whether the digit entry view animates when the digits are cleared.

## Discussion

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

## See Also

### Entering Information

- [entryCompletionHandler](tvuikit/tvdigitentryviewcontroller/entrycompletionhandler.md)
