ORKLoginStepViewController Class Reference
Inherits from | ORKFormStepViewController : ORKStepViewController : UIViewController |
---|---|
Declared in | ORKLoginStepViewController.h ORKLoginStepViewController.m |
Overview
The ORKLoginStepViewController
class is the concrete ORKStepViewController
implementation for ORKLoginStep
.
You should subclass a login step view controller and override the button action methods to provide your navigation logic. All override methods are required.
Other Methods
– forgotPasswordButtonTapped
Action method for the forgot password button.
- (void)forgotPasswordButtonTapped
Discussion
The forgot password button is shown in place of the skip button. Override this method to provide custom logic for the button action.
Declared In
ORKLoginStepViewController.h
Other Methods
– setCancelButtonItem:
The cancel button item.
- (void)setCancelButtonItem:(UIBarButtonItem *)cancelButtonItem
Discussion
The cancel button item controls the Cancel button displayed in the navigation bar when the step view controller is current. This property lets you control the appearance and target of the Cancel button at runtime.
When the value of the property is nil
, the Cancel button is not displayed; otherwise, the title, target,
and action associated with the Cancel button item are used (other properties of UIBarButtonItem
are ignored).
The cancel button item is updated during view loading and when the value of the step
property
is changed, but is safe to
set in the taskViewController:stepViewControllerWillAppear:
delegate callback.
Subclasses can safely modify this property any time after calling viewWillAppear:
on super.
Declared In
ORKStepViewController.h