Navigation 导航

翻译目录

People tend to be unaware of an app’s navigation until it doesn’t meet their expectations. Your job is to implement navigation in a way that supports the structure and purpose of your app without calling attention to itself. Navigation should feel natural and familiar, and shouldn’t dominate the interface or draw focus away from content. In iOS, there are three main styles of navigation.

除非导航不符合他们的预期, 否则在你的应用里用户不太会意识到导航的存在。你的工作就以一种支持APP结构和目的方式来实现,而导航本身不引起关注。导航应该感觉起来自然和谐,不应该主导界面或转移内容的注意力。在iOS中有三种主要的导航风格.

Hierarchical navigation.Make one choice per screen until you reach a destination. To go to another destination, you must retrace your steps or start over from the beginning and make different choices. Settings and Mail use this navigation style.

层级导航,在每个页面做出选择直到到达目的地。到另外一个目的地,用户需要逐级返回或者回到初始层级,再做出不同的选择。系统设置和邮件应用使用这种导航风格。


层级导航

Flat navigation.Switch between multiple content categories. Music and App Store use this navigation style.

扁平导航,在多种内容类别中切换,音乐和应用商店使用这种导航风格.


扁平导航

Content-driven or experience-driven navigation.Move freely through content, or the content itself defines the navigation. Games, books, and other immersive apps generally use this navigation style.

内容或体验驱动导航。通过内容自由的移动,或则内容自己定义导航。游戏,阅读,还有其它的沉浸式应用通常使用这种风格。


体验驱动导航

Some apps combine multiple navigation styles. For example, an app that uses flat navigation may implement hierarchical navigation within each category.

一些应用结合多种导航方式。例如,一个应用使用扁平导航,在每个类目可以实现层级导航。

Always provide a clear path.People should always know where they are in your app and how to get to their next destination. Regardless of navigation style, it’s essential that the path through content is logical, predictable, and easy to follow. In general, give people one path to each screen. If they need to see a screen in multiple contexts, consider using an action sheet, alert, popover, or modal view. To learn more, seeAction Sheets,Alerts,Popovers, andModality.

在应用中提供清晰的路径,用户可以知道他们在哪并知道如何进入另一个目的地。忽略导航模式,最重要的是对用户来说路径是有逻辑的,可预测的,并容易遵循的。通常给用户一条路径到达每个界面。如果他们需要在多种情境下看一个界面,可以考虑使用操作表单,弹出框,浮层,模式视图。学习更多查看Action Sheets,Alerts,Popovers, 和 Modality.

Design an information structure that makes it fast and easy to get to content.Organize your information structure in a way that requires a minimum number of taps, swipes, and screens.

设计一种能简洁高效到达内容的信息结构,以最少的点击,滑动和界面来组织你的信息结构。

Use touch gestures to create fluidity.Make it easy to move through your interface with minimum friction. For example, you could let people swipe from the side of the screen to return to the previous screen.

使用触摸手势来创建流。在最小的阻力下,方便容易的到达你想去的界面,列如,你可以让用户侧滑来回到前一个界面。

Use standard navigation components.Whenever possible, use standard navigation controls such as page controls, tab bars, segmented controls, table views, collection views, and split views. Users are already familiar with these controls, and will intuitively know how to get around your app.

使用标准的导航组件。只要可能,使用标准的导航控制,如:页面控制,页签栏,分栏控制,表格视图,集合视图和分离视图。用户已经熟悉了这些控制,能够直觉的知道怎样来玩转你的应用。

Use a navigation bar to traverse a hierarchy of data.The navigation bar’s title can show the current position in the hierarchy, and the back button makes it easy to return to the previous location. For specific guidance, seeNavigation Bars.

使用导航栏让用户访问数据层级。导航栏的标题能显示当前层级位置;返回按钮让用户容易回到前一个层级。需要详细的指导,查阅 Navigation Bar。

Use a tab bar to present peer categories of content or functionality.A tab bar lets people quickly and easily switch between categories, regardless of the current location. For specific guidance, seeTab Bars.

使用标签栏显示当前类似内容或功能的分类。标签栏可以让用户快速容易的切换分类,而不用考虑当前层级位置。需要详细的指导,查阅Tab Bar。

Use a page control when you have multiple pages of the same type of content.A page control clearly communicates the number of pages available and which one is currently active. The Weather app uses a page control to show location-specific weather pages. For specific guidance, seePage Controls.

当你有多个相同类型内容的页面,可以使用页面控制。页面控制清晰地表达了可能的页面数量,并告知当前显示的是哪个。如,天气应用使用页面控制显示当地特定天气页面。需要详细的指导,查阅 Page Control.

Tip:Segmented controls and toolbars don’t enable navigation. Use a segmented control to organize information into different categories. Use a toolbar to provide controls for interacting with the current context. For additional information on these types of elements, seeSegmented ControlsandToolbars.

提示:分栏控制和工具栏不用来导航. 使用分栏控制来组织不同的信息种类。使用工具栏提供控制,跟当前场合发生交互。需要这些元素类型的额外信息,查阅 Segmented Controls 和 Toolbars.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 157,298评论 4 360
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 66,701评论 1 290
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 107,078评论 0 237
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 43,687评论 0 202
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 52,018评论 3 286
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 40,410评论 1 211
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,729评论 2 310
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,412评论 0 194
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,124评论 1 239
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,379评论 2 242
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 31,903评论 1 257
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,268评论 2 251
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 32,894评论 3 233
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,014评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,770评论 0 192
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 35,435评论 2 269
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,312评论 2 260

推荐阅读更多精彩内容