You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support showing verification code suggestion on keyboard from Message #57
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.
Please check my comment in closed issue: #44
@rajathevar456
Unfortunately, auto-fill won't work with PinCodeTextField.
Apple doc on auto-fill
iOS supports Password AutoFill on UITextField, UITextView, and any custom view that adopts the UITextInput protocol.
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.
Activity
riazhazan commentedon May 15, 2019
Any update on this?
tkach commentedon May 15, 2019
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.
Please check my comment in closed issue:
#44
tkach commentedon May 15, 2019
I also recommend to have a look at this PR, it’s work in progress but may work for you.
#47
rajathevar456 commentedon May 27, 2019
hi katch,
how long it will take for avail this option...
tkach commentedon May 27, 2019
@rajathevar456
Unfortunately, auto-fill won't work with PinCodeTextField.
Apple doc on auto-fill
iOS supports Password AutoFill on UITextField, UITextView, and any custom view that adopts the UITextInput protocol.
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.