gpt4 book ai didi

swift - TabBar Storyboard如何连接?

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

如何为标签栏创建 View Controller ?我希望酒吧在那个位置enter image description here

最佳答案

1- 为 tabBar 添加一个具有相同框架的 containerView

2- 你会得到一个空 VC 的 segue,选择它并从菜单编辑器 -> 嵌入到 tabBarcontroller

//

从对象库拖一个containerView

enter image description here

//

从菜单中选择 segue 目标 VC

enter image description here

你会得到

enter image description here

关于swift - TabBar Storyboard如何连接?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51368926/

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