TabBarItem中的TabBarController开关视图 [英] TabBarController switch views in TabBarItem

查看:90
本文介绍了TabBarItem中的TabBarController开关视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个基于默认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

推荐答案

如果其他人想找出如何为该应用构建类似结构的方法,我强烈建议

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开关视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆