This question is probably answered.
I want to make UITextField
with a suggestion table as shown below like Safari does:
I know how to get text while typing and search in my sqlite
or core data bases
for similar text. But, how can I connect to google or youtube "database" and get suggestions and most importantly show it in UITableView
.
I tried this sample, but it only search in dictionary, not for online results!
Please give something to start with! THANKS!
Use below to get search suggestions in XML format.
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=SEARCH_TERM
Parse the XML
and display in your table view.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With