5

Modern iOS Navigation Patterns · Frank Rausch

 1 year ago
source link: https://frankrausch.com/ios-navigation?ref=sidebar
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Structural Navigation

A typical iOS application has a fixed architecture—often a hierarchical tree with multiple levels. This rigid structure makes navigation options predictable. Structural navigation patterns give users confidence about where they came from, where they are in the hierarchy, and how to navigate back to where they came from.

Drill-Down

Illustration of drill-down columns arranged horizontally to show the concept of cascading lists
  • The drill-down navigation pattern traverses an information tree structure as cascading lists—level by level, screen by screen.
  • Animated transitions imply horizontal movement between columns: Moving right goes deeper into the tree hierarchy, moving left goes back up the hierarchy.
  • Drill-down navigation is stateless: Traversing the hierarchy is always possible and is never interrupted by questions about whether to save state.
  • The Navigation Bar displays the title of the current screen.
  • Disclosure indicators () on list rows show that it’s possible to drill down deeper into the hierarchy.
  • A Back button () provides an obvious path back up the hierarchy. If space permits, it should be labeled with the title of the parent screen rather than a generic “Back”.
  • Swiping right from the left edge of the screen does the same as pressing the Back button.
  • For right-to-left languages, the drill-down direction and control layout are mirrored to match the reading direction.
  • The tree structure can be built dynamically to filter a database. For example: In a music player app, you can drill down from different hierarchical starting points (Artist, Album, Genre) to find the same album, as well as using a search interface.
  • Drill-down navigation is the one-column-per-screen variant of the macOS Finder-style Miller columns.
Illustration of an iPhone with a tab bar at the bottom and an iPad with a sidebar
  • The flat navigation pattern divides the hierarchy at the root level and presents it as a tab bar (or as a sidebar on iPad).
  • The tab bar items are curated around the main capabilities of the app to shape the user’s expectations and their mental model of what the app can do.1
  • One of the tab bar items is always selected, and the active selection determines what’s displayed in the main content area of the app.
  • The currently selected tab bar item should not change programmatically (without user interaction) or indirectly (for example, by tapping a button elsewhere in the interface).
  • The tab bar remains visible on all screens throughout the application, except when it is temporarily covered by a modal sheet (see below).
  • Tabs can be used as filters or as different entry points for the same large collection of content, such as a library of music, videos, or photos.
  • Each section retains the navigation state for its own sub-hierarchy.
  • Tab bar items should behave in a predictable way; they should not bring up sheets or trigger actions.
  • The infamous Hamburger menu is the tab bar’s evil sibling: Discoverability suffers when the entire navigation interface is hidden behind a small icon. Hamburger menus were in style on iOS for a few years around 2015, but app makers abandoned them when research showed that tab bars were much more discoverable.

Pyramid

Illustration of an overview screen with thumbnails and three sibling detail views with page indicators
  • The pyramid2 pattern allows you to quickly navigate between sibling views at the same hierarchy level without having to go back to the parent screen.
  • The horizontal swipe gesture is a common way to move between sibling views in a media application. Buttons can also be used, such as the Next Message and Previous Message chevrons in the iOS Mail app.
  • The iOS Photos app demonstrates the pyramid pattern: Tap a photo to open it in a full-screen view, then swipe left and right to flip through adjacent images.
  • Use a page control for small collections to visualize the total number of items and the current item’s position relative to its siblings.

Hub-and-Spoke

Illustration of an iPhone home screen (the hub) and two apps (the spokes)
  • The Hub-and-Spoke2 pattern is ideal for large collections of unrelated items at the top level of a hierarchy. To switch between the full-screen child views, you always return to the hub first.
  • The iOS Home screen—a collection of all the installed applications—serves as a hub and a reliable “neutral state” of the operating system.
  • The Home indicator at the bottom of the screen is an easy-to-learn and always-available “escape hatch”2 that always leads back to the familiar Home screen interface.
  • Note that this pattern is rarely used within apps. It is here mostly for completeness. There is hardly ever a need for a separation as strong as the one between applications at the operating system level.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK