void Button_TouchUpInside(object sender, EventArgs e) { // [OPTIMIZELY] Examples of how to implement code blocks (different flow) OptimizelyiOS.Optimizely.CodeBlocksWithKey(OnboardingFunnel, () => { var vc = new CodeBlocksOnboardViewController(); NavigationController.PushViewController(vc, true); }, () => { var vc = new VisualEditorViewController(); NavigationController.PushViewController(vc, true); } ); }
void Button_TouchUpInside(object sender, EventArgs e) { // [OPTIMIZELY] Examples of how to implement code blocks (different flow) OptimizelyiOS.Optimizely.CodeBlocksWithKey(OnboardingFunnel, () => { var vc = new CodeBlocksOnboardViewController(); NavigationController.PushViewController(vc, true); }, () => { var vc = new VisualEditorViewController(); NavigationController.PushViewController(vc, true); } ); }