如何修复iOS 15中的gmsautocosposteviewController的UI?

发布于 2025-01-23 06:10:25 字数 403 浏览 2 评论 0原文

在iOS 15之前,自动完成功能完全可以。但是,从iOS 15来看,gmsautocolperteviewController具有错误,如以下屏幕截图所示。屏幕截图还显示了GMSAutoCompleteviewController的代码。

起初,我以为是因为我使用了Google Places SDK的旧版本,因为它已经两年没有升级。但是,在将SDK升级到最新版本(即6.1.1)之后,该错误仍在那里。

我想问如何修复它?

Before iOS 15, the Autocomplete feature was totally fine. However, from iOS 15, the GMSAutocompleteViewController has the bug as can be seen in the following screenshot. The screenshot also shows the codes for GMSAutocompleteViewController.

At first I thought it was because I used the old version of the Google Places SDK since it has not been upgraded for 2 years. However, after I upgraded the SDK to the latest version, which is 6.1.1, the bug is still there.

I would like to ask for how to fix it?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

护你周全 2025-01-30 06:10:25

我在Google上找不到直接解决方案。

我在

该解决方案是使用gmsautocpommentsultsviewControlleruisearchController实现自动完成视图控制器。

I can't find a direct solution on Google.

I found a workaround solution in the here.

The solution is to implement an autocomplete view controller using GMSAutocompleteResultsViewController and UISearchController.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文