Instance Method


No overview available.


func preferredColorScheme(_ colorScheme: ColorScheme?) -> some View

See Also

Adopting View Color Schemes

func colorScheme(ColorScheme) -> View

Sets this view’s color scheme.

func accentColor(Color?) -> View

Sets the accent color for this view and the views it contains.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software