Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6029061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:49:51+00:00 2026-05-23T04:49:51+00:00

Is it possible to autocomplete a UITextField bases on what is being entered? The

  • 0

Is it possible to autocomplete a UITextField bases on what is being entered? The reason why I need this is because I have a predefined set of words that the user needs to choose and the list is about 1000 item long. I want to display in UITableView and let the user chose but having 1k items in table list isn’t I think a good idea.
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:49:52+00:00Added an answer on May 23, 2026 at 4:49 am

    You can do it by not showing all the 1k items in table view but you can populate your table view as the user starts typing letters in text field. For this you have to put all the items in some data structure or database from where you can use some sorting or query to get the items related to what is user entered. For example if user starts typing letter from ‘a’ then get the items which have letter a and populate your table with them. One way of doing this is put all in database and in UITextField delegate

    - (void)textFieldDidBeginEditing:(UITextField *)textField
    

    start a NSTimer object which will call a function for every one second and that function will give you selected data from database, populate your table with that data.

    Also you have to stop that timer in UITextField delegate –

    - (BOOL)textFieldShouldReturn:(UITextField *)textField
    

    or

    -(void) textFieldDidEndEditing:(UITextField *)textField 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an input field that uses Autocomplete to show a list of possible
Is it possible in Aptana(PyDev) to only remove the autocomplete that completes the '
I have a jQuery autocomplete that works in most browsers but only kind of
I'm using Jorn Zaefferer's Autocomplete query plugin, http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ I have options set so it
I have this version of jQuery-autocomplete: jQuery Autocomplete Mod , It's cool with me
Is it possible to set a css class in a TextBox html helper? This
I have a jQuery autocomplete entry that I want to make look more like
How, if possible, can I have iPhone SDK's classes (UI*) to autocomplete inside TextMate?
Is it possible to have JQuery Autocomplete work without using conventional id,label,value? For instance,
jquery Ui AutoComplete has a property that named Source. i want to value this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.