Class

TVDigitEntryViewController

A view controller that enables the user to enter digits, like a passcode, in your app.

Declaration

@interface TVDigitEntryViewController : UIViewController

Overview

Use the TVDigitEntryViewController class to manage a digit entry view. The digit entry view is automatically presented by the view controller and consists of boxes that display digits and a digit keyboard.

A fullscreen image with five grey boxes in the middle of the screen and a row of numbers from 1 to 0 below the boxes.

Topics

Configuring the Digit Entry View

numberOfDigits

The number of required digits.

titleText

The title of the digit entry view.

promptText

A prompt that displays any additional required information.

secureDigitEntry

A Boolean value that indicates whether an entered digit is immediately obscured.

Entering Information

entryCompletionHandler

A completion handler that cues the app that the user has entered the required number of digits for the digit entry view.

- clearEntryAnimated:

Removes all digits from the digit entry view.

Relationships

Inherits From