简体   繁体   English

如何在iOS 5中使用多视图应用程序而不使用故事板?

[英]How to have a multiview application in iOS 5 without using the storyboard?

I am a newbie to iPhone development. 我是iPhone开发的新手。 Could you please help me to understand how to create a multiview application without using the storyboard and tableview? 你能不能帮我理解如何在不使用故事板和tableview的情况下创建多视图应用程序? Here is the scenario of my app, I have two views one is the login view (I am using the UINavigationController which contains the main login view and the NavigationBar is hidden) and the other one contains tabbed bar, the thing is I just can't switch to another view after the username and password are matched. 这是我的应用程序的场景,我有两个视图,一个是登录视图(我使用的是包含主登录视图的UINavigationController,而NavigationBar是隐藏的),另一个包含标签栏,事情就是我可以'在用户名和密码匹配后切换到另一个视图。 Any help regarding this would be appreciable. 任何有关这方面的帮助都是可以理解的。 Thanks alot in advance. 非常感谢提前。

Open XCode . 打开XCode

Go to File -> New Project 转到文件 - > 新项目

Choose either Master-Detail Template or Utility Template 选择Master-Detail TemplateUtility Template

Do NOT tick Use Storyboard 不要勾选使用故事板

Look at the code and learn 看一下代码学习

OR 要么

Google any tutorial on the web that was made for ios 4 (or earlier even) and use that. 谷歌任何针对ios 4(或更早版本)的网络教程并使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM