I've set a notification on my textfield for when it changes. What is the proper way to clear the field? The following is incorrect.
this code insures that the first and/or only char of the entered text can not be whitespace. Renders the spacebar non-visually disabled until actual text is entered.
Code:
If ([myTextField.text isEqualToString:@" "])
[myTextField textFieldShouldClear:YES]
this code insures that the first and/or only char of the entered text can not be whitespace. Renders the spacebar non-visually disabled until actual text is entered.