Generic Instance Method

navigationViewStyle(_:)

Sets the style for navigation views within this view.

Declaration

func navigationViewStyle<S>(_ style: S) -> some View where S : NavigationViewStyle

See Also

Styling Views

func buttonStyle<S>(S) -> View

Sets the style for buttons within this view.

func buttonStyle<S>(S) -> View

Sets the style for buttons within this view.

func menuButtonStyle<S>(S) -> View

Sets the style for menu buttons within this view.

func pickerStyle<S>(S) -> View

Sets the style for pickers within this view.

func datePickerStyle<S>(S) -> View

Sets the style for date pickers within this view.

func textFieldStyle<S>(S) -> View

Sets the style for text fields within this view.

func toggleStyle<S>(S) -> View

Sets the style for toggles within this view.

func listStyle<S>(S) -> View

Sets the style for lists within this view.

View Styles

Find the built-in styles for different types of views.