public static CountriesConsentViewController Create() { UIStoryboard storyboard = UIStoryboard.FromName("CountriesConsent", null); CountriesConsentViewController vc = storyboard.InstantiateInitialViewController() as CountriesConsentViewController; vc.ModalPresentationStyle = UIModalPresentationStyle.FullScreen; return(vc); }
void OnSuccess() { NextBtn.HideSpinner(); NavigationController?.PushViewController(CountriesConsentViewController.Create(), true); }