Recorded

Changes in this version

iPhone Duo device poses guidance no longer names Xcode 27.1 for Device Hub

No section of this page changed in this version.

Other pages in this version: 1 section on 1 page. All pages changed in v24

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