Example #1
0
 partial void BackButton_TouchUpInside(UIButton sender)
 {
     NavigationController.PopViewController(true);
 }
Example #2
0
        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);
        }
Example #3
0
 public override void ViewWillDisappear(bool animated)
 {
     base.ViewWillDisappear(animated);
     NavigationController.PopViewController(true);
 }