ORKWebViewStep Class Reference

Inherits from ORKStep : NSObject
Declared in ORKWebViewStep.h

The ORKWebViewStep class represents a step that displays an embedded webview.

This may be useful in cases where extreme custom styling is necessary, or an instrument with specific requirements does not yet have a native implementation.

In order to proceed to the next step from inside the webviewstep, you must execute this line of javascript when the user should proceed:


Where “answer” is the string answer that will be captured in the WebViewStepResult. A string answer is required or the user will be unable to proceed.

+ webViewStepWithIdentifier:html:

Returns a new web view step that includes the specified identifier and will display the specified html.

+ (instancetype)webViewStepWithIdentifier:(NSString *)identifier html:(NSString *)html



The identifier of the step (a step identifier should be unique within the task).


The html to be displayed in the webview.

Declared In



Embedded html used for displaying the webview.

@property (nonatomic, copy, nullable) NSString *html

Declared In