ACEAutocompleteBar
ACEAutocompleteBar copied to clipboard
minimumCharactersToTrigger
Hi
I try to set the "minimumCharactersToTrigger" to zero, to have all the suggestion when keyboard appear, doesn't work.
(by the way, nice work!)
Also, even if I add "self.textField.text=@"on";
when I click in the field, the toolbar are not visible. (appear only when I type something)
Here is how I worked around this issue:
- (void) textFieldDidBeginEditing:(UITextField *)textField
{
// Force displaying all suggestions when beginning edition of text field
id<UITextFieldDelegate> autocompleteInputView = (id<UITextFieldDelegate>)textField.inputAccessoryView;
[autocompleteInputView textField:textField shouldChangeCharactersInRange:NSMakeRange(0, 0) replacementString:@""];
}