UIKit Text Colors
The UIKit text colors that are also used in other components, such as the TextField
Platform Compatibility
iOS 13.0+ iPadOS 13.0+ tvOS 13.0+ visionOS 1.0+
Tags
SwiftUI Code
TextField("Placeholder", text: .constant(""))
Text("Placeholder")
.foregroundStyle(Color(.placeholderText))
Found an issue or have a suggestion?
Created: May 29, 2025Updated: May 29, 2025