-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support showing verification code suggestion on keyboard from Message #57
Comments
Any update on this? |
Unfortunately oneTimeCode can’t be supported by PinCodeTextField at the moment. There have been some work around it some time ago but it hadn’t succeeded. |
I also recommend to have a look at this PR, it’s work in progress but may work for you. |
hi katch, how long it will take for avail this option... |
@rajathevar456 Apple doc on auto-fill This control (PinCodeTextField) is based on another protocol (UIKeyInput) which is a lot simpler to implement and is enough for simple code input. In contrast with UIKeyInput, custom control implementation that is based on UITextInput (for auto-fill suggestion), requires to define a complex text input system which seems to be too complicated for the task of PIN code entering, especially if the only reason of implementation is an auto-fill. Adding the functionality of UITextInput doesn't align with my vision of PinCodeTextField, there's no good solution of this feature, at least at this moment. If you need to support an auto-fill in your text input I would suggest to use UITextField or UITextView and customize it. |
Hello,
Is it possible add support code prompts from SMS? There is a standard feature for this:
textfield.textContentType = .oneTimeCode
The text was updated successfully, but these errors were encountered: