Instance Method インスタンスメソッド

navigationSubtitle(_:)

Configures the view’s subtitle for purposes of navigation. ビューのもつサブタイトルをナビゲーション目的のために構成設定します。

Declaration 宣言

func navigationSubtitle(_ subtitle: Text) -> some View

Parameters パラメータ

subtitle

The subtitle to display.

Discussion 議論

A view’s navigation subtitle is used to provide additional contextual information alongside the navigation title. On macOS, the primary destination’s subtitle is displayed with the navigation title in the titlebar. ビューのもつナビゲーションサブタイトルは、ナビゲーションタイトルに並べて追加の、文脈による情報を提供するために使われます。macOSでは、第一目的地のもつサブタイトルは、ナビゲーションタイトルとともにタイトルバーにおいて表示されます。