I'm also seeing a second Password AutoFill problem, on sign-up. It may or may not be related: it happens without either of the modifiers above, and on an empty field.
Tap the New Password field. The "Use Strong Password?" sheet appears.
Tap Fill Strong Password.
Expected: the generated password fills the field.
Actual: nothing happens and the field stays empty.
Same device and iOS version. I haven't found a workaround. Minimal repro:
struct SignUpView: View {
@State private var email = ""
@State private var password = ""
var body: some View {
Form {
Section {
TextField("Email", text: $email)
.textContentType(.username)
.keyboardType(.emailAddress)
SecureField("New Password", text: $password)
.textContentType(.newPassword)
}
}
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: