MLPAutoCompleteTextField icon indicating copy to clipboard operation
MLPAutoCompleteTextField copied to clipboard

How to call autoCompleteTextField:possibleCompletionsForString:completionHandler forcefully

Open uditbatra opened this issue 11 years ago • 2 comments

I am using a web method response to generate data. How can i handle make autoCompleteTextField:possibleCompletionsForString:completionHandler call on webmethod response

uditbatra avatar Aug 13 '14 05:08 uditbatra

I took me a bit to find it :

calling becomeFirstResponder() on the Textfield will trigger a call of autoCompleteTextField:possibleCompletionsForString:completionHandler !

It works even if the textfield is already the first responder.

JeanMeche avatar May 26 '15 20:05 JeanMeche

@kyro38 it does not work, just call:

[yourTextField reloadData];

it can work!

litt1e-p avatar Oct 17 '16 06:10 litt1e-p