Search code examples
iosresearchkit

Can I add custom UIView to ORKStep in ResearchKit


Currently I'm working with ResearchKit. In a ORKTaskViewController I'd like to show my custom view embedded in some specified tasks. How can I achieve this can someone provide me with a sample code. Thanks a lot.


Solution

  • There's a small example on ORKTest which uses the customView property of the ORKActiveStepView controller. The relevant code is here.

    And the documentation for that property is here.

    Hope that helps.