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 |
---|
Declared In
ORKPasscodeViewController.h
– passcodeViewControllerDidFailAuthentication:
required method
Notifies the delegate that the user failed authentication.
- (void)passcodeViewControllerDidFailAuthentication:(UIViewController *)viewController
Parameters
viewController |
The |
---|
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 |
---|
Declared In
ORKPasscodeViewController.h
– passcodeViewControllerTextForForgotPasscode:
Defaults to Localized “Forgot Passcode?” text
- (NSString *)passcodeViewControllerTextForForgotPasscode:(UIViewController *)viewController
Parameters
viewController |
The |
---|
Return Value
Text to display for the forgot passcode button
Declared In
ORKPasscodeViewController.h
– passcodeViewControllerForgotPasscodeTapped:
Notifies the delegate that forgot passcode button has been tapped.
- (void)passcodeViewControllerForgotPasscodeTapped:(UIViewController *)viewController
Parameters
viewController |
The |
---|
Declared In
ORKPasscodeViewController.h