ORKPasscodeDelegate Protocol Reference

Conforms to NSObject
Declared in ORKPasscodeViewController.h

The passcode delegate protocol declares methods which forward the success or failure of passcode modification or authentication.

– passcodeViewControllerDidFinishWithSuccess: required method

Notifies the delegate that the user has finished authenticating or editing the passcode.

- (void)passcodeViewControllerDidFinishWithSuccess:(UIViewController *)viewController

Parameters

viewController

The ORKPasscodeStepViewController object in which the passcode input is entered.

Declared In

ORKPasscodeViewController.h

– passcodeViewControllerDidFailAuthentication: required method

Notifies the delegate that the user failed authentication.

- (void)passcodeViewControllerDidFailAuthentication:(UIViewController *)viewController

Parameters

viewController

The ORKPasscodeStepViewController object in which the passcode input is entered.

Declared In

ORKPasscodeViewController.h

– passcodeViewControllerDidCancel:

Notifies the delegate that the user hit the cancel button item. The cancel button is only visible if this method is implemented.

- (void)passcodeViewControllerDidCancel:(UIViewController *)viewController

Parameters

viewController

The ORKPasscodeStepViewController object in which the passcode input is entered.

Declared In

ORKPasscodeViewController.h