public static QuestionnaireViewController Create()
 {
     UIStoryboard storyboard = UIStoryboard.FromName("Questionnaire", null);
     QuestionnaireViewController vc = storyboard.InstantiateInitialViewController() as QuestionnaireViewController;
     vc.ModalPresentationStyle = UIModalPresentationStyle.FullScreen;
     return vc;
 }
Example #2
0
 //After calling this method you cannot return to this page.
 //The entire Navigationcontroller has to be dismissed, and this controller must be reloaded and call ViewDidLoad()
 void GoToQuestionnairePage()
 {
     _viewModel.Cleanup();
     NavigationController?.PushViewController(QuestionnaireViewController.Create(), true);
 }