导航栏教程 [英] Navigation bar tutorial

查看:89
本文介绍了导航栏教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,对不起我的英语不好.我真的是App开发的初学者,并且正在做一个具有三个视图的应用. 第一个和第二个通过选项卡栏切换(到目前为止还可以). 第一个它将是唯一一个通过导航栏指向第三个视图(将仅是图像)的视图. 导航栏在第一个视图中将具有一个按钮,可转到第三视图,而在第三视图中,导航栏将具有按钮后退"(这是问题所在).

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).

我在第一个视图中放置了一个导航栏,并尝试在其中放置一个Nav项,但是它们不允许我使用!我该怎么做 ?没有情节提要,我找不到一个好的导航栏教程(我没有使用情节提要...).

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...).

谢谢.

推荐答案

看看这两个教程

http://fuelyourcoding.com /如何将按钮添加到您的ios-app-navigation-bar/

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

这篇关于导航栏教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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