ios - map 搜索结果显示在表格中

标签 ios uitableview swift mapkit xcode6

我正在做一个学校项目,但我不知道如何让某人搜索某个位置,然后将结果显示在表格 View 中。

我到处寻找某种方法来做到这一点,但一无所获。

最佳答案

有(至少使用 Apple 的 API)两种类型的搜索:

我假设您正在寻找 MKLocalSearch,但这些是您可以执行的基本搜索类型。

关于ios - map 搜索结果显示在表格中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26457383/

相关文章:

ios - 如何在 iOS 14 上仅获取具有授予访问权限的 Assets ?

ios - iphone 应用程序 : Send Alert message when App is running in background?

ios - Swift Tableview 搜索结果选择的单元格复选标记不持久

swift - 在 Swift 中编辑 TableView 时如何防止 segue 转换?

ios - RxSwift : tap a button to do a request with Alamofire, 如何让它工作?

ios - iPhone 旋转时管理 iAd 大小

ios - registerClass 错误 Tableview

ios - 如何使用 AppCoda 示例和 iOS 图表获取饼图数据以显示?

swift - 为什么 switch 在 optional 中不接受 case nil?

ios - APN(Apple 推送通知)负载大小限制