Using researchkit, it is possible to show forms in a step of a task based on the boolean variable set in the previous step.
` let BodyStep = ORKCustomStep(identifier: "myBodyStep")
BodyStep.isOptional = false
BodyStep.title = "Body Check".
let BodyView = BodyCheckView(frame: CGRect(x: 0, y: 0, width: 400, height: 400))
BodyStep.contentView = BodyView
`
from this view I set the boolean variables, based on these I would like to make a step, with forms based on the previously set boolean variables.