|
|
@ -35,6 +35,7 @@ class TasksViewController: UIViewController, ORKTaskViewControllerDelegate {
|
|
|
|
@IBAction func consentButtonTapped(_ sender: UIButton) {
|
|
|
|
@IBAction func consentButtonTapped(_ sender: UIButton) {
|
|
|
|
let taskViewController = ORKTaskViewController(task: consentPDFViewerTask(), taskRun: nil)
|
|
|
|
let taskViewController = ORKTaskViewController(task: consentPDFViewerTask(), taskRun: nil)
|
|
|
|
taskViewController.delegate = self
|
|
|
|
taskViewController.delegate = self
|
|
|
|
|
|
|
|
taskViewController.modalPresentationStyle = .fullScreen
|
|
|
|
present(taskViewController, animated: true, completion: nil)
|
|
|
|
present(taskViewController, animated: true, completion: nil)
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|