gpt4 book ai didi

swift - TabBarController 问题

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

我有一个带有 2 个选项卡的 tabBar Controller :firstVC,secondVC。当 tabBarController 出现时,我想在屏幕上看到这个带有 2 个选项卡的 tabBar Controller 和事件 Controller (称为 main),而不是来自这个选项卡。可能吗?

最佳答案

是的。您可以将这两个选项卡嵌入到导航 Controller 中。 2 个选项卡中的每一个都有自己的 viewController 堆栈。

看看this answer获取详细说明。

关于swift - TabBarController 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47605732/

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