Exemplo 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();
        }
Exemplo n.º 2
0
 public AlertViewController(CRSAlertView alert)
 {
     _alert = alert;
 }
Exemplo n.º 3
0
 public AlertViewController(CRSAlertView alert)
 {
     _alert = alert;
 }
Exemplo 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();
 }