先看官方 Guideline :关于导航栏右侧的按钮,只有这么一句话:
The navigation bar should contain no more than a view’s current title, the back button, and one control that manages the view’s contents.
link: iOS Human Interface Guidelines: iOS UI Element Usage Guidelines
现在看来,右上角按钮的用途日新月异,绝不止“manages the view's content”这一种。但这是一种最基本也是最被广泛使用的用途。下面我试图根据使用过的 App(不含游戏),对这个按钮的用途与交互方式略作总结:
1. 展开右侧区域
前年开始流行的“汉堡包式菜单”按钮大部分放在导航栏左侧。有些应用也利用了主屏右侧的区域作为附加信息或菜单,而导航栏右侧的按钮作用就是展开右侧区域。
例1.1:Path 在主屏下,点击右上角按钮,滑开右侧好友相关操作。