Apple MapKit 是否有像 Google Places 那样的唯一标识符?

Does Apple MapKit have a unique identifier like Google Places does?

我查看了 Apple 的文档,但无法找到 Apple 地图(即 MapKit)是否提供类似于 Google 为 Places SDK 提供的唯一 ID - https://developers.google.com/places/ios-sdk/place-id

我查看了所有 MapKit 文档,但找不到任何内容。

我为什么要问这个?我正在构建一个允许用户 save/bookmark 'places' 的应用程序。我需要一种能够使用唯一 ID 检索该地点详细信息的方法,以便我可以再次检索其信息。目前,我最好的选择似乎是使用 Google Places SDK,因为这将允许我搜索和查找地点,将地点 ID 保存在我的数据库中,然后使用相同的地点 ID 进行查找稍后再来。

您可以发起一个Place Search in the Places SDK using a name, address, or phone number to retrieve the Place ID, which you can then use as planned. This allows you to store a name or address and use that for lookup. Your other option is to go native and use CLPlacemark, which can be initialized using a CLLocation and stored/retrieved. Here's a helpful article on native geocoding