Created
October 9, 2018 13:40
-
-
Save foxanna/1af994ccaff6515e176b224cd714fa04 to your computer and use it in GitHub Desktop.
This file contains 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
using Foundation; | |
using UIKit; | |
using Xamarin.Forms; | |
... | |
public class DatePickerDelegate : NSObject, IUITextFieldDelegate | |
{ | |
[Export("textField:shouldChangeCharactersInRange:replacementString:")] | |
public bool ShouldChangeCharacters(UITextField textField, NSRange range, string replacementString) => | |
false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment