System Image Label
Creates a label with a system icon image and a title generated from a localized string.
Platform Compatibility
Tags
SwiftUI Code
Label("Foo", systemImage: "water.waves")
Creates a label with a system icon image and a title generated from a localized string.
Label("Foo", systemImage: "water.waves")
Presents an alert with a message using the given data to produce the alert’s content and a localized string key for a title.
The UIKit separator colors that are also used in other components, such as the TextField
Specifies the preferred placement for the tabs of a TabView in the sidebarAdaptable style on platforms where the tab bar cannot adapt between different representations, and only one representation can be shown. For example, on iOS, it can enforce the sidebar on large-screen devices like the Pro Max, and iPhone Duo. This modifier has no effect on iPadOS.
Creates a text view that displays the formatted representation of a nonstring type supported by a corresponding format style.
Removes the sidebar toggle toolbar item a NavigationSplitView adds by default.