Labeled Content
Creates a labeled informational view.
Platform Compatibility
Tags
SwiftUI Code
List {
LabeledContent("Foo", value: "Bar")
}Creates a labeled informational view.
List {
LabeledContent("Foo", value: "Bar")
}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.
Sets the container background of the enclosing container using a view.
Creates a horizontal split arrangement only in portrait orientation. In landscape orientation, no split is applied.