xornorik / SVPinView

SVPinView is a light-weight customisable library used for accepting pin numbers or one-time passwords.
MIT License
282 stars 90 forks source link

Does this library have support for the new OneTimePasscode introduced in iOS 12 ? #51

Closed subinrevi closed 4 years ago

subinrevi commented 4 years ago

Is there any way we can achieve this with this framework. Since iOS 12 has introduced this feature.

static let oneTimeCode: UITextContentType

xornorik commented 4 years ago

Hey @subinrevi It does indeed. The PinView has a property isContentTypeOneTimeCode which when set to true (true by default), activates the oneTimePasscode feature.