【问题标题】:Can I add custom UIView to ORKStep in ResearchKit我可以在 ResearchKit 中将自定义 UIView 添加到 ORKStep
【发布时间】:2016-01-22 11:11:54
【问题描述】:

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

【问题讨论】:

  • 我建议你在 rk 的 github repo 上发布一个 issue。

标签: ios researchkit


【解决方案1】:

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

该属性的文档是here

希望对您有所帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-08-09
    • 2018-05-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-24
    • 1970-01-01
    • 2017-08-04
    相关资源
    最近更新 更多