gpt4 book ai didi

ios - 尽管导航栏出现在屏幕上,但运行模拟器时导航项不出现

转载 作者:行者123 更新时间:2023-11-29 05:43:00 25 4
gpt4 key购买 nike

我在主视图 Controller 上添加了 2 个栏按钮项,并将它们链接到代码中。我还创建了导航项的导出。虽然,当我运行 iOS 模拟器时,没有出现任何栏按钮项目,但出现了导航栏。我也尝试从代码中重复它,但得到了相同的结果。在设置导航栏中,我还检查了半透明 - 得到了相同的结果。在 3D 模型屏幕中:

  1. 导航栏 -> 半透明关闭
  2. 导航栏 -> 半透明打开

    有人可以帮助我吗?

navigation bar setup navigation item in controller and hierarchy view on running Simulator without navigation item 3D model screen(translusent off) 3D model screen (translusent on)

最佳答案

my problem hierarchy view controllers enter image description here

问题出在层次结构 View Controller 中。就我而言,层次结构是:

navigationVC -> tabBarVC -> myCustomVC (my problem here)

为了解决这个问题,我将其更改为:

tabBarVC -> navigationVC -> myCustomVC (my resolve problem here)

关于ios - 尽管导航栏出现在屏幕上,但运行模拟器时导航项不出现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56388688/

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