gpt4 book ai didi

ios - Google Maps myLocationButton 在 Tab Bar Controller Swift 3 下

转载 作者:行者123 更新时间:2023-11-28 15:29:51 25 4
gpt4 key购买 nike

使用 Google 开发人员页面中的示例代码,我已将 map 实现到我的应用程序中。 map View 在导航 Controller 和标签栏 Controller 下。如何调整 map 大小使其不与这些重叠?这不会是一个大问题,除了 myLocationButton 一半位于选项卡栏 Controller 下方这一事实。

最佳答案

最后通过设置 bottom padding = 44 解决了这个问题。一开始不知道有这个选项。

关于ios - Google Maps myLocationButton 在 Tab Bar Controller Swift 3 下,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44834366/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com