如何修复iOS 15中的gmsautocosposteviewController的UI?
在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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在Google上找不到直接解决方案。
我在
该解决方案是使用
gmsautocpommentsultsviewController
和uisearchController
实现自动完成视图控制器。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
andUISearchController
.