UIKit Text Colors
The UIKit text colors that are also used in other components, such as the TextField
Platform Compatibility
Tags
SwiftUI Code
TextField("Placeholder", text: .constant(""))
Text("Placeholder")
.foregroundStyle(Color(.placeholderText))Found an issue or have a suggestion?
More Color Components
View allUIKit Separator Colors
The UIKit separator colors that are also used in other components, such as the TextField
UIKit Content Background colors
The UIKit colors that are also used in other components like in List and GroupBox
Color Variants
HierarchicalShapeStyle, a shape style that maps to one of the numbered content styles
Explore Other Components
Browse allNavigation Subtitle
Configures the view’s subtitle for purposes of navigation, using a localized string
Tab View Customization
Specifies the customizations to apply to the sidebar representation of the tab view.
Preferred Top Column
Controls which column appears on top of the stack when NavigationSplitView collapses into a single stack in certain contexts, such as on iPhone, when iPhone Duo is closed, or on Apple Watch. By default, the sidebar appears on top. In this case, the detail column does instead.