问题描述
我有一个基于默认xcode标签栏应用程序"模板的应用程序.它具有3个tabBar项,每个项都加载自己的xib FirstView.xib,SecondView.xib和ThirdView.xib.我想要的是FirstView.xib上的UIButton,该UIButton加载FirstView.xib所在的FirstAltView.xib.有人可以发布一些示例代码来说明如何执行此操作或完成xCode项目,因为我无法弄清楚如何将视图控制器链接在一起.
I have a app based off the default xcode "Tab Bar Application" template. It has 3 tabBar Items that each load their own xib FirstView.xib, SecondView.xib, and ThirdView.xib. What i would like is a UIButton on the FirstView.xib that loads the FirstAltView.xib where the FirstView.xib is. Can someone please post some sample code on how to do this or a complete xCode project because i cannot figure out how to link the view controllers together.
这是我的应用程序应如何运行的流程图.基本上,登录窗口上有一个按钮将加载表格视图.替代文本http://i51.photobucket.com/albums/f373/ROBKID/流程图.png
Here is a flow chart of how the flow of my app should be. Basicly there is a button on the login window that will load the table view.alt text http://i51.photobucket.com/albums/f373/ROBKID/flowchart.png
推荐答案
如果其他人想找出如何为该应用构建类似结构的方法,我强烈建议 http://www.stanford.edu/class/cs193p/cgi-bin/drupal/node/47 它的斯坦福大学iphone开发课程,这一课对我解释这个概念非常有帮助.
If anyone else is trying to figure out how to build a simular structure to this app i highly recommend http://www.stanford.edu/class/cs193p/cgi-bin/drupal/node/47 its standford Universities iphone development class and that lesson was very helpful in explaining this concept to me.
这篇关于TabBarItem中的TabBarController开关视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!