objective c - Autocomplete search example for iPhone -
can point me in direction of how implement "autocomplete" search interface on iphone. assuming need use nstimer periodically check has been typed , submit partial string data source , display those.
i need connect existing web service returning json
a tutorial or sample code preferred.
thanks
this stack overflow answer you. if using uisearchdisplaycontroller
, not need use nstimer
poll search field, changes search field fire delegate methods you.
in delegate methods, may apply new search predicate based on contents of field, , refresh data fetch , display possible words.
Comments
Post a Comment