0

I am trying to create a segue between two ORKTasks such as InformedConsent and SurveyTasks. There is not too much documentation in Swift on how to do this? I was wondering if anybody could help me out?

1 Answers1

0

Normally you use an ORKTask within an ORKTaskViewController. Once you have instantiated the controller with its associated task, you can programmatically present the controller in any way you choose.

For example: you can use presentViewController:animated:completion:, or make it a child of a UITabBarController, or push it into an UINavigationController, etc.

Ricardo Sanchez-Saez
  • 9,466
  • 8
  • 53
  • 92
  • So write now I have a ui tab controller set up one for consent, one for survey, but i want to have it where once the consent task finishes it goes straight to the survey – Shashank Jul 28 '15 at 17:00