public static void DismissBackground(UIViewController view) { if (navigationController != null) { navigationController.dismissBackground(view); } }
void Send() { if (navigationController != null) { switch (dismissAction) { case DismissMethod.UseControllerPath: navigationController.dismissBackground(backgroundControllerPath); break; case DismissMethod.UseInstance: navigationController.dismissBackground(backgroundInstance); break; case DismissMethod.UseLayer: navigationController.dismissBackground(backgroundLayer); break; } } }