After upgrading to Xcode Version 14.3, the TextField prompt in iOS 16.4 is rendered blue not gray as it was in iOS 16.3
struct ContentView: View {
@State var email: String = .init()
var body: some View {
VStack {
TextField("account@email.com", text: $email)
}
.padding()
}
}
you could try this:
TextField("\("account@email.com")", text: $email)
or this:
TextField("", text: $email, prompt: Text(verbatim: "account@email.com"))