How can I set the maximum amount of characters in a UITextField on the iPhone SDK when I load up a UIView?
UITextField
UIView
For Xamarin:
YourTextField.ShouldChangeCharacters = delegate(UITextField textField, NSRange range, string replacementString) { return (range.Location + replacementString.Length) <= 4; // MaxLength == 4 };