Ejemplo n.º 1
0
        void ShowTipPopup(object sender, EventArgs e)
        {
            var alertView = new CRSAlertView {
                Title   = "Tip",
                Message = _appController.GetRandomTip(),
                Image   = UIImage.FromBundle("SharedAssets/Lamp"),
                Actions = new CRSAlertAction[] { new CRSAlertAction {
                                                     Text = "OK", DidSelect = alert => SetNeedsStatusBarAppearanceUpdate()
                                                 } }
            };

            alertView.Show();
        }
Ejemplo n.º 2
0
 public AlertViewController(CRSAlertView alert)
 {
     _alert = alert;
 }
Ejemplo n.º 3
0
 public AlertViewController(CRSAlertView alert)
 {
     _alert = alert;
 }
Ejemplo n.º 4
0
 void ShowTipPopup(object sender, EventArgs e)
 {
     var alertView = new CRSAlertView {
         Title = "Tip",
         Message = _appController.GetRandomTip (),
         Image = UIImage.FromBundle("SharedAssets/Lamp"),
         Actions = new CRSAlertAction[] { new CRSAlertAction { Text = "OK", DidSelect = alert => SetNeedsStatusBarAppearanceUpdate () }}
     };
     alertView.Show();
 }