Exemplo n.º 1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false);

            storyboardButton.TouchUpInside += OnLogin;

            btn       = new TransitionSubmitButton();
            btn.Frame = new RectangleF(32.0f, View.Frame.Height - 60.0f - 44.0f, View.Frame.Width - 64.0f, 44.0f);
            btn.SetTitle("Sign in", UIControlState.Normal);
            if (btn.TitleLabel != null)
            {
                btn.TitleLabel.Font = UIFont.FromName("HelveticaNeue-Light", 14.0f);
            }
            btn.TouchUpInside += OnLogin;
            View.AddSubview(btn);
        }
Exemplo n.º 2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false);

            storyboardButton.TouchUpInside += OnLogin;

            btn = new TransitionSubmitButton();
            btn.Frame = new RectangleF(32.0f, View.Frame.Height - 60.0f - 44.0f, View.Frame.Width - 64.0f, 44.0f);
            btn.SetTitle("Sign in", UIControlState.Normal);
            if (btn.TitleLabel != null)
            {
                btn.TitleLabel.Font = UIFont.FromName("HelveticaNeue-Light", 14.0f);
            }
            btn.TouchUpInside += OnLogin;
            View.AddSubview(btn);
        }