我可以在 ResearchKit 中将自定义 UIView 添加到 ORKStep

Can I add custom UIView to ORKStep in ResearchKit

目前我正在与 ResearchKit 合作。在 ORKTaskViewController 中,我想显示嵌入在某些指定任务中的自定义视图。我怎样才能做到这一点,有人可以为我提供示例代码。非常感谢。

ORKTest 上有一个小示例,它使用 ORKActiveStepView 控制器的 customView 属性。相关代码为here.

属性 的文档是 here

希望对您有所帮助。