从ViewController到TabbarController

发布于 2025-01-28 09:54:36 字数 821 浏览 2 评论 0 原文

我是Swift的新手,我尝试执行最简单的任务:建立一个从正常 view controller TABBARCONTROLLER

我已经给了Segue 标识符(“ intogame”),并在 view> view> view controller 中创建了 ibaction

一切都很好,没有构建时间错误,但是当我点击按钮时,什么也不会发生。

当我将 TABBARCONTROLLER 作为初始视图中时,将显示正确且功能齐全。

我没有想法,将不胜感激。

​/I.SSTATIC.NET/Q7MJZ.PNG“ alt =” inter Image Description在此处”>

I am a newbie to Swift and I try to perform the simplest task to imagine: Establish a segue from normal ViewController to TabBarController.

I've already given the segue an Identifier ( "intoGame" ) and created an IBAction in the ViewController.

Everything's fine, no build time errors, but when I tap on the Button nothing happens.

When I establish the TabBarController as initial view, it is displayed correct and fully functional.

I am out of ideas and help would be much appreciated.

enter image description here

enter image description here

enter image description here

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文