Created
November 25, 2017 00:55
-
-
Save sjehutch/c3d821914704c355603f33146c1eca77 to your computer and use it in GitHub Desktop.
resign keyboard xamarin IOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public override void TouchesBegan(NSSet touches, UIEvent evt) | |
| { | |
| txtUserName.ResignFirstResponder(); | |
| } | |
| //Dismiss Keyboard After hitting return | |
| txtPassword.ShouldReturn = (sender) => | |
| { | |
| sender.ResignFirstResponder(); | |
| return false; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment