partial void BackButton_TouchUpInside(UIButton sender) { NavigationController.PopViewController(true); }
private void alert(string title, string message, string button) { var alertController = UIAlertController.Create(title, message, UIAlertControllerStyle.Alert); alertController.AddAction(UIAlertAction.Create(button, UIAlertActionStyle.Default, (obj) => { NavigationController.PopViewController(true); })); PresentViewController(alertController, true, null); }
public override void ViewWillDisappear(bool animated) { base.ViewWillDisappear(animated); NavigationController.PopViewController(true); }