ORKQuestionStepViewController Class Reference
|Inherits from||ORKStepViewController : UIViewController|
You should not need to instantiate an
directly. Instead, create an
ORKQuestionStep object, include it in a task
the task using a task view controller. The task view
controller automatically instantiates the question step view controller
when it needs to present a question step.
ORKQuestionStepViewController directly, create an
ORKQuestionStep object and use
initWithStep: to initialize it. To receive the result of the question, and to determine
when to dismiss the view controller, implement
Provide a custom question view.
@property (nonatomic, strong, nullable) ORKQuestionStepCustomView *customQuestionView
If a question requires a custom control for data entry, provide a suitable
custom step view. This view should provide
-sizeThatFits: or autolayout
constraints which determine the vertical space required.