Displaying suggested locations in UITableView

后端 未结 3 692
再見小時候
再見小時候 2021-01-14 04:04

Basically what I want to do in my app is have a UISearchBar which, when I write in, will feedback location results and populate that into a UITableView that app

相关标签:
3条回答
  • 2021-01-14 04:46

    I know it's quite late, but maybe it can help others, I've recently created autocomplete view, which can be attached to any UITextField, with single line of code. Colors, separators, margins can be configured. Ships with google locations completion source.

    You can clone it from GitHub

    0 讨论(0)
  • 2021-01-14 05:01

    Check this project http://iosboilerplate.com/#maps

    0 讨论(0)
  • 2021-01-14 05:02

    With the Help of Table view and search bar you can create presentation of City list. Now about API for city list there is many link availibale on Map for same. Please refer below

    http://www.geonames.org/export/

    https://developers.google.com/adwords/api/docs/appendix/cities_world

    Download Table from above URL and place this with resource directory and use this for suggestion.

    See more link for same

    http://www.geodatasource.com/cities-free.html

    http://weather.noaa.gov/data/nsd_cccc.txt

    http://www.geonames.org/export/JSON-webservices.html#citiesJSON

    0 讨论(0)
提交回复
热议问题