fluentui-apple/Docs/iOS/Controls/Navigation.md

2.1 KiB

Navigation

Overview

Use a NavigationController to enable users to navigate through hierarchical data. NavigationController, along with extensions to UINavigationItem, allow you to render all relevant information with a Fluent look and feel.

Appearance Examples

NavigationBar.Style Example
.primary Navigation-Style-Primary.png
.system Navigation-Style-System.png
.custom Navigation-Style-Custom.png
NavigationBar.TitleStyle Example
.system Navigation-TitleStyle-System1.png Navigation-TitleStyle-System2.png
.leading Navigation-TitleStyle-Leading1.png Navigation-TitleStyle-Leading2.png
.largeLeading Navigation-Style-Primary.png

More Customization Options

By specifying an appropriate instance of NavigationBarTitleAccessory, you can indicate to users that the title can be pressed.

You can also specify an optional titleImage with the associated navigation item.

Specifications Example
Title down arrow with titleImage Navigation-Accessory-Image-TitleDownArrow.png
Subtitle disclosure Navigation-Accessory-SubtitleDisclosure.png

Implementation

Source Code

Navigation folder

Sample Code

NavigationControllerDemoController.swift