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 7516601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:10:59+00:00 2026-05-30T01:10:59+00:00

I want to provide a user-input field in my iPad app, where the user

  • 0

I want to provide a user-input field in my iPad app, where the user can type the name of a city or location, and the app should present a list of possible cities/locations where the user can select from, and I can get the geo coordinates from (to add markers on a MKMapView).

I tried CLGeocoder, but it seems it only gets me one result, plus the result ain’t that accurate. For example, putting “Stutt” as address string yields “Straubing, germany” as result, wheareas “Stuttgart” will bring up “Stuttgart” (correct) as result (I would thus expect at least 2 results for “Stutt”). Also, theres a city called stuttgart in the US, which also was not given as result.
(i used the sample code on the very bottom of this page: https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/UsingGeocoders/UsingGeocoders.html)

Can anyone guide me to a proper solution for city name/location lookup based on user text input?

  • 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-30T01:11:01+00:00Added an answer on May 30, 2026 at 1:11 am

    Found a solution:

    The geonames webservice and the objective-c client api.

    The client api also brings a ready-to-use search controller.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to provide user with ability to fill-in input field with special characters
In our JSF web application, we have an input field where the user can
I want to provide my user with some meaningful error messages when network requests
I want a desktop application to provide a smooth user experience through deployment. In
Selenium provide many kinds of browser driver, so I want to let the user
I want to provide a button which cancels the present task, Let's say I
My problem concerns validating/normalising a user's input for the combination of Country and 'City'
I subclass DialogFragment to show an input field to the user. If the user
I want to provide the user with a selection of questions but I want
Errors e.g. with bad user input can not always be reasonably checked using domain

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.