ORKVerificationStep Class Reference
Inherits from | ORKStep : NSObject |
---|---|
Declared in | ORKVerificationStep.h |
The ORKVerificationStep
class represents a step that serves as placeholder
step to use while the user attempts to verify their account.
The verification step contains a text field and a resend email button. The button actions must be overriden inside a subclassed verification view controller to provide navigation logic.
The developer should redirect user back to the app once the verification is done and move forward automatically.
– initWithIdentifier:
Returns a new step initialized with the specified identifier.
- (instancetype)initWithIdentifier:(NSString *)identifier
Parameters
identifier |
The unique identifier of the step. |
---|
Return Value
A new step.
Discussion
This method is the primary designated initializer.
Declared In
ORKStep.h
– initWithIdentifier:text:verificationViewControllerClass:
Returns an initialized verification step using the specified identifier, title, text, and class.
- (instancetype)initWithIdentifier:(NSString *)identifier text:(nullable NSString *)text verificationViewControllerClass:(Class)verificationViewControllerClass
Parameters
identifier |
The string that identifies the step (see |
---|---|
text |
The text shown immediately below the title (see |
verificationViewControllerClass |
The subclassed verification view controller class. |
Return Value
An initialized verification step object.
Declared In
ORKVerificationStep.h
verificationViewControllerClass
The view controller subclass used for the step.
@property (nonatomic, readonly) Class verificationViewControllerClass
Discussion
The subclass allows you to override button actions in order to provide navigation logic for the button items on the step.
Declared In
ORKVerificationStep.h