本文介绍了故事板 - ViewController到标签栏控制器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我有视图控制器,它是包含选项等的主界面...

I have view controller which is the main interface contains options etc...

我想从第一个视图控制器>标签控制器转换

i want to transition from 1st view controller > tab controller

现在一次在标签控制器我想添加更多标签,因为默认情况下xcode只创建两个。

now once at tab controller i want to add more tabs as by default xcode only creates two.

q)你如何添加更多标签在故事板中

q) how you add more tabs in storyboarding

我将第一个视图控制器嵌入到标签控制器中但它崩溃了xcode

I embeded the 1st view controller in tab controller but it crashed xcode

q)如何避免崩溃并使流程看起来更好

q) how to avoid crashing and making the flow seems better

任何建议,想法都会受到欢迎:来自Android活动和意图我不知道什么是最好的解决方案,所以欢迎所有输入。

any suggestions, ideas will be welcomed: coming from android activities and intents i'm not sure what is best solution here so welcome all input.

更新:我想我想问的是什么,并没有说清楚是

UPDATE: i guess what i was trying to ask and didnt made it clear is

我有看法控制器我希望首先加载,然后单击三个按钮之一进入选项卡控制器,当我执行编辑器>嵌入导航控制器时,xcode崩溃。

i have view controller i want this to load first and upon clicking one of the three buttons go to tab controller which is where xcode crashes when i do Editor > embed within nav controller.

推荐答案

我想你可能会比跟随故事板教程更糟糕。我发现Ray Wenderlich相当不错。事实上,我甚至购买了他的书以获得全部内容。

I guess you could do worse than follow along a Storyboard tutorial. I found Ray Wenderlich's rather good. In fact I even purchased his book to get the whole thing.

参见

这篇关于故事板 - ViewController到标签栏控制器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 20:37