tree: 8967a28caab876f7976e62dbd6921adaa9f3c781 [path history] [tgz]
  1. assets/
  2. accessibility.md
  3. color-theming.md
  4. interactive-background-views.md
  5. migration-guide-appbar-appbarviewcontroller.md
  6. README.md
  7. recommended-behavioral-flags.md
  8. theming.md
  9. typical-use-child.md
  10. typical-use-container.md
  11. typical-use-navigation-controller.md
  12. typography-theming.md
  13. uinavigationitem-support.md
components/AppBar/docs/README.md

App bars: top

The Material Design top app bar displays information and actions relating to the current view.

Related components


Overview

App bar is composed of the following components:

It is essentially a FlexibleHeader with a HeaderStackView and NavigationBar added as subviews.

MDCAppBarViewController is the primary API for the component. All integration strategies will make use of it in some manner. Unlike UIKit, which shares a single UINavigationBar instance across many view controllers in a stack, app bar relies on each view controller creating and managing its own MDCAppBarViewController instance.

Installation

Usage

Behavioral flags

A behavioral flag is a temporary API that is introduced to allow client teams to migrate from an old behavior to a new one in a graceful fashion. Behavioral flags all go through the following life cycle:

  1. The flag is introduced. The default is chosen such that clients must opt in to the new behavior.
  2. After some time, the default changes to the new behavior and the flag is marked as deprecated.
  3. After some time, the flag is removed.

See the FlexibleHeader documentation for additional usage guides.

Extensions

Accessibility

Migration guides

Unsupported