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


            continueBtn.TouchDown += (object sender, EventArgs e) =>
            {
                LoggedIn controller = this.Storyboard.InstantiateViewController("LoggedIn") as LoggedIn;
                controller.Username = userName.Text;
                this.NavigationController.PushViewController(controller, true);
                return; // this navigation controller works and Username is sent to next view controller.
            };
        }