This works
VStack{
TextField("Enter your electronic mail", textual content: $electronic mail)
.font(.subheadline)
.padding(12)
.background(Colour(.systemGray6))
.cornerRadius(10)
.padding(.horizontal, 24)
TextField("Enter your password", textual content: $password)
.font(.subheadline)
.padding(12)
.background(Colour(.systemGray6))
.cornerRadius(10)
.padding(.horizontal, 24)
}
This glitches, inflicting the display screen and keyboard to flicker/bounce
VStack{
TextField("Enter your electronic mail", textual content: $electronic mail)
.font(.subheadline)
.padding(12)
.background(Colour(.systemGray6))
.cornerRadius(10)
.padding(.horizontal, 24)
SecureField("Enter your password", textual content: $password)
.font(.subheadline)
.padding(12)
.background(Colour(.systemGray6))
.cornerRadius(10)
.padding(.horizontal, 24)
}
I’m utilizing iOS17. I’ve tried on each simulated and bodily (iPhone 13 Professional Max) units. It’s extra noticeable on the bodily gadget, nevertheless I nonetheless discover it on the simulator. Unsure whether it is one thing I’m doing fallacious, or if it is a bug.