<!--
{
  "documentType" : "article",
  "framework" : "Human Interface Guidelines",
  "identifier" : "/design/Human-Interface-Guidelines/digit-entry-views",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "Digit entry views"
}
-->

# Digit entry views

A digit entry view fills the entire screen and prompts people to enter a series of digits, like a PIN, using a digit-specific keyboard.

## Discussion

![A stylized representation of an Apple TV five-digit passcode entry screen. The image is tinted red to subtly reflect the red in the original six-color Apple logo.](images/com.apple.HIG/components-digit-entry-view-intro~dark@2x.png)

You can add an optional title and prompt above the line of digits.

## Best practices

**Use secure digit fields.** Secure digit fields display asterisks instead of the entered digit onscreen. Always use a secure digit field when your app asks for sensitive data.

**Clearly state the purpose of the digit entry view.** Use a title and prompt that explains why someone needs to enter digits.

## Platform considerations

*Not supported in iOS, iPadOS, macOS, visionOS, or watchOS.*

## Resources

#### Related

[Virtual keyboards](/design/Human-Interface-Guidelines/virtual-keyboards)

#### Developer documentation

<doc://com.apple.documentation/documentation/TVUIKit/TVDigitEntryViewController> — TVUIKit

---

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)