iOS 13 中的 GMSPlacePickerViewController 问题

GMSPlacePickerViewController issue in iOS 13

我用GMSPlacePickerViewController选择地点,在iOS 13之前工作正常。iOS 13更新后GMSPlacePickerViewController不工作了。它总是显示错误页面

Can't load search results

我启用了 MapGoogle Place API 但仍然显示相同的错误。 我到处都在寻找解决方案,没有帮助。

Google 的地点选择器在 2019 年 1 月 deprecated,并于 2019 年 7 月关闭。

Place Picker is no longer available

The Place Picker was deprecated on January 29, 2019. It was turned off on July 29, 2019, and is no longer available. Continued use will result in an error message. The new SDK does not support the Place Picker.

但是,迁移到 iOS 的新 Places SDK 将允许您使用 SDK 提供的其他地方服务,例如 Place Autocomplete. There's also a public feature request for a Place Picker widget in Google's issue tracker here

希望对您有所帮助!