我计划创建一个应用程序,在UITableView
中列出附近的地点,并结合自动完成功能使用UISearchController
过滤地点的结果,我尝试使用Google Places API。
我有些困惑,因为我不知道应该使用哪个API:
- Google Places API Web Service
还是
- Google Places API for iOS
我没有在Google Places API for iOS文档中找到获取地点列表的方法。
何时使用Google Places API Web Service以及何时使用Google Places API for iOS?在我的情况下,哪个更适合(通过名称和类别选项进行分页和筛选地点)?
我已经为Google Places API for iOS生成了一个API-KEY,我能否仍然在Google Places API Web Service中使用此密钥?