---
title: "Digit entry views | Apple Developer Documentation"
source: https://developer.apple.com/design/human-interface-guidelines/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.

![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.](https://docs-assets.developer.apple.com/published/ca37bff0e0176a587241e4a6ced6090d/components-digit-entry-view-intro%402x.png)

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

## [Best practices](https://developer.apple.com/design/human-interface-guidelines/digit-entry-views#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](https://developer.apple.com/design/human-interface-guidelines/digit-entry-views#Platform-considerations)

 _Not supported in iOS, iPadOS, macOS, visionOS, or watchOS._

## [Resources](https://developer.apple.com/design/human-interface-guidelines/digit-entry-views#Resources)

#### [Related](https://developer.apple.com/design/human-interface-guidelines/digit-entry-views#Related)

[Virtual keyboards](https://developer.apple.com/design/human-interface-guidelines/virtual-keyboards)

#### [Developer documentation](https://developer.apple.com/design/human-interface-guidelines/digit-entry-views#Developer-documentation)

[`TVDigitEntryViewController`](https://developer.apple.com/documentation/TVUIKit/TVDigitEntryViewController) — TVUIKit

