예제 #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            // Perform any additional setup after loading the view, typically from a nib.
            TxtPassword.SecureTextEntry = true;
            userController = new UserController();
            userController.UserLoggedIn += UserController_UserLoggedIn;
            TxtPassword.ShouldReturn    += TxtPassword_ShouldReturn;


            TxtMail.ShouldReturn = (textField) =>
            {
                TxtPassword.BecomeFirstResponder();
                return(true);
            };

            TxtPassword.ShouldReturn = (textField) =>
            {
                TxtPassword.ResignFirstResponder();
                return(true);
            };
        }