Recorded

Changes in this version

Importance not yet assessed.

Adds guidance for touch input on Macs with a touch display across macOS pages

No section of this page changed in this version.

Other pages in this version: 18 sections on 6 pages. All pages changed in v35

Summaries are written automatically and may be wrong; the diff below is the record.

Digit entry views

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

Virtual keyboards

Developer documentation

TVDigitEntryViewController — TVUIKit