On my application working on Expo, I would like to disable this functionality (strong password ios 12) : https://developer.apple.com/videos/play/wwdc2018/204/
To be short, I would like to avoid this (it's not my application)
I try different way like add those properties to my textInput
textContentType='none'
autoCorrect={false}
Nothing works...
Any guesses ?
set isSecureTextEntry
to false
then in your app delegate file add:
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {
if (textField == self.passwordTextField && !self.passwordTextField.secureTextEntry) {
self.passwordTextField.secureTextEntry = YES;
}
return YES;
}
You may need to eject your app in order to open code in xcode.
Found the only solution for this problem.
textField.textContentType = .oneTimeCode
Otherwise iOS 12 uses PasswordAutofill for any secure field (textField.isSecureTextEntry = true).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With