I want to implement a custom autocomplete functionality in a UITextField that will use the values provided by me, not the iPhone dictionary. Does any one knows how to do it or could point me to some resources?
You can use this UITextField subclass:
https://github.com/hoteltonight/HTAutocompleteTextField
The example shows you how to use an array as the data source for the autosuggest text. The suggested text appears "ghosted", like you see in the address bar in a browser, as opposed to the speech bubble that iOS uses to autocomplete/suggest.
Here's Another alternative. Fully customizable and configurable.
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