Post

Replies

Boosts

Views

Activity

Autofilling new password with confirmation
I've added 3 UITextFields to create a new account by entering a username in eMail address format, a new password and a password confirmation. As suggested in https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_a_text_input_viewi have configured the username field like thisuserTextField.textContentType = .username userTextField.keyboardType = .emailAddressand the new password fields like thisnewPasswordTextField.textContentType = .newPassword confirmPasswordTextField.textContentType = .newPasswordNow, when the users enters an eMail address as username the newPasswordTextField is pre-filled with a suggestion for a strong password (as expected), but the confirmPasswordTextField isn't filled with the same suggested password.When the user directly taps into the newPasswordTextField without entering a username before both newPasswordTextField and confirmPasswordTextField are pre-filled with the same suggested password (also as suggested).How can i combine this both situations that after the user enters a username both password fields will be pre-filled with the same password?
2
0
4.3k
Aug ’18
Two column SplitViewController side-by-side in regular size class
Hello, I configured a SplitViewController in Storyboard. Master and detail controller are each connected to a separate NavigationController that each has a separate TableViewController as root view controller. The master view controller is connected to the detail view controller to "show detail" in the segue. In code i set preferredDisplayMode = .allVisible to always show master and detail view controller side-by-side in regular size class. That worked well in iOS 13. Now, using latest iOS 14 beta the initial view shows the detail view controller instead of master even in regular size class only one view controller is shown at the same time. In Storyboard "Two Columns" is selected and i set "One Column Beside" as "Display Mode" and "Tile" as "Behavior". Unfortunately that didn't help to restore the behavior as in iOS 13.
1
0
679
Aug ’20