Esempio n. 1
0
        void HandleAuthorizationFailure(object sender, EventArgs e)
        {
            if (showingLoginView)
            {
                return;
            }

            // create a login view.
            //
            showingLoginView = true;

            var lv = new LoginViewController(window.RootViewController, () => {
                showingLoginView = false;
            });

            window.RootViewController.PresentViewController(lv, true, null);
        }
Esempio n. 2
0
        void HandleAuthorizationFailure(object sender, EventArgs e)
        {
            if (showingLoginView) {
                    return;
                }

                // create a login view.
                //
                var lv = new LoginViewController(window.RootViewController, () => {
                    showingLoginView = false;
                }
                );

                showingLoginView = true;

                window.RootViewController.PresentViewController(lv, true,null);
        }