如何在没有故事板和基于页面的情况下在 xcode 中创建一个简单的基于导航的应用程序?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12565947/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to create a simple navigation based application in xcode without storyboard and page-based?
提问by Will Smith
can any One Give me an example to create simplest navigation based application in xcode 5.1 without use of storyboard and page-based application. I tried so much to find it but every where it is available in xcode 4. I want to perform this task in single view based application. Thank you for your time.
任何人都可以举个例子,在不使用故事板和基于页面的应用程序的情况下,在 xcode 5.1 中创建最简单的基于导航的应用程序。我尝试了很多来找到它,但它在 xcode 4 中的每个地方都可用。我想在基于单视图的应用程序中执行此任务。感谢您的时间。
回答by Will Smith
I Found the solution of my own question. In ios 5.1, use the Master-Detail Application. Deselectthe check box of storyboards and relative. There will be a simple table view application ready to use. Modify it as your requirement.
我找到了我自己问题的解决方案。在 ios 5.1 中,使用 Master-Detail 应用程序。取消选择故事板和相关的复选框。将有一个简单的表视图应用程序可供使用。根据您的要求修改它。
回答by dhaya
This Link will help you lot,before you must Deselect the check box of Use storyboards on project creation time
此链接将帮助您很多,之前您必须取消选中在项目创建时使用故事板的复选框
http://www.ralfebert.de/tutorials/iosdev/navigationcontroller/
http://www.ralfebert.de/tutorials/iosdev/navigationcontroller/