Navigation bar tutorial

懵懂的女人 提交于 2019-12-11 19:34:37

问题


First, sorry for my bad English. I'm really beginner at App development and I'm doing an app with three views. The first and the second ones are switched by a Tab Bar (and that's all right so far). The first it's gonna be the only one which leads to the third view (which will be only a image) through a Navigation Bar. This nav bar in the first view will have one button to go to the third view, and in the third view the nav bar will have a button "back" (and here's the problem).

I'm putting a nav bar in the first view and I try to put a Nav item into it, but they don't let me! How can I do it ? I can't find a good Navigation Bar's tutorial whithout storyboard (I'm not using storyboards...).

Thank you.


回答1:


take a look at these two tutorials

http://fuelyourcoding.com/how-to-add-buttons-to-your-ios-app-navigation-bar/

and

http://www.idev101.com/learn/navigation_controllers.html



来源:https://stackoverflow.com/questions/18788656/navigation-bar-tutorial

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