约束与问题的TabBar底部布局指南 [英] Constraint to bottom layout guide with TabBar issue

查看:628
本文介绍了约束与问题的TabBar底部布局指南的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有containerView第一个选项卡上的根据的UITabBarController iPad应用程序。该containerView拥有标准的垂直间距上下布局指南。当我点击第二个选项卡,然后再回到第一个标签,我的容器56点向下移动,使用TabBar的高度,然后通过使用TabBar覆盖。

I have UITabBarController based iPad app with containerView on the first tab. The containerView has standard vertical spacing to bottom layout guide. When I tap on the second tab and then go back to the first tab, my container moves down by 56 pts, the height of the tabBar and is then covered by the tabBar.

我做了3截图来说明这一点。第三个屏幕截图显示选项卡之间跳转后隐藏的TabBar。它看起来像底部布局指南下降到边缘。这到底是怎么回事呢?

I made 3 screenshots to illustrate that. The third screenshot shows hidden tabBar after the jump between tabs. It looks like the bottom layout guide went down to the edge. What is going on here?

推荐答案

我不知道这里发生了什么,但我认为这可以帮助:

I'm not sure about what happened here, but I think that this could help:

取消选中底部栏在UIViewController属性

Uncheck Under bottom bar in your UIViewController properties

希望这将有助于!

这篇关于约束与问题的TabBar底部布局指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆