Replacement for Navigation-based application template in Xcode 4.2?

天大地大妈咪最大 提交于 2019-12-01 19:50:01

to get a Table View and a Detail View you should go with the Master-detail template. Although at first you may think about it being iPad-only, the iPhone version builds an application which is similar to the Navigation-based.

I don't think that it works. Anyway, you should start with a single view application, then add the files from the New-File menu. You should select View. Then click create. It should generate the required files for you.

In Xcode 4.2 you have to use SIngle-View Application Template. it's the same than Navigation-based Application template.

The Single View Application does not set up the nav controller for you either. You have to build it manually.

What I suggest doing, if you can, load an older version of Xcode and create a blank Navigation-Based app. Use it as a reference for your new apps. You'll have to change your class and file names, of course, but I dont see any issue with doing it that way.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!