gpt4 book ai didi

ios - UISplitViewController 中的导航 Controller 为底栏留出空间

转载 作者:可可西里 更新时间:2023-11-01 03:37:44 25 4
gpt4 key购买 nike

如标题所示,我在使用 UINavigationControllers 作为 UISplitView 中的主视图和详细 View 时遇到问题。导航 Controller 为底栏留出空间。当我删除导航 Controller 时, View 呈现得很好。

Storyboard看起来像:

TabBarController -> SplitView -> UINavigationController(master 和 detail) -> 每个的 ViewControllers。

我可以通过添加 40 像素的额外空间作为约束来“破解” View 以正确呈现,但我宁愿不这样做。

我错过了什么?

编辑:我在一个空项目中模拟了所有内容,默认情况下它似乎工作正常。似乎我在我的主项目中更改了一些设置或做了一些导致此问题的事情。

The gray space is what I am trying to remove.

最佳答案

打开设置“Under Opaque Bars”

关于ios - UISplitViewController 中的导航 Controller 为底栏留出空间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32528930/

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