keepworks / kwverificationcodeview Goto Github PK
View Code? Open in Web Editor NEWA customisable verification code view to capture OTPs
License: MIT License
A customisable verification code view to capture OTPs
License: MIT License
Is there any option to add tollbar to keyboard?
Please let me know, if any option exist for this ASAP.
Thanks in advance.
I want to add verification view programatically to my controller following code i have used. but it is not working properly because i dont know what properties need to be set programatically. Also can you update this to latest ios versions.
let secondView: KWVerificationCodeView = {
let vv = KWVerificationCodeView()
vv.digits = 6
vv.underlineColor = UIColor.darkGray
vv.backgroundColor = UIColor.clear
vv.textSize = 24
//vv.textFont =
vv.tintColor = UIColor.blue
//vv.darkKeyboard =
vv.translatesAutoresizingMaskIntoConstraints = false
return vv
}()
func setupVerificationView(){
self.view.addSubview(secondView)
secondView.leadingAnchor.constraint(equalTo: view.leadingAnchor).isActive = true
secondView.trailingAnchor.constraint(equalTo: view.trailingAnchor).isActive = true
secondView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor,constant: 50).isActive = true
secondView.heightAnchor.constraint(equalToConstant: 80).isActive = true
}
/Base.lproj/Main.storyboard: error: IB Designables: Failed to render and update auto layout status for OTPVC (oLG-hh-m7w): dlopen(KWVerificationCodeView.framework, 1): no suitable image found. Did find:
KWVerificationCodeView.framework: required code signature missing for 'KWVerificationCodeView.framework'
Dear @kpavankotesh
I using KWVerificationCodeView in storyboard and everything is wonderful. But, sometime, I open storyboad and see the error message.
/Base.lproj/Main.storyboard: error: IB Designables: Failed to render and update auto layout status for ViewController (c58-2p-jVI): The agent threw an exception.
I check again ViewController but it didn't show.
I see, If the storyboard reports the error above, I have to restart xcode completely. This happens intermittently when I use the storyboard
Please check the bug above
does it support auto read otp?
We have code resend button when user clicks on it, I want to clear existing code enter by user.
So is there any method available to do this ?
Is there any plan to provide Carthage support to this?
I have tried to install the latest version with Carthage but it is showing error.
Skipped building KWVerificationCodeView due to the error:
Dependency "KWVerificationCodeView" has no shared framework schemes
is there any simple way we can get the text entered in the fields?
In Xcode build settings is "default" for the "Swift 3 @objc Inference" compiler code generation for swift 4.
This causes an error when building and an @objc needs to be added to the front of:
dynamic fileprivate func textFieldDidChange(_ notification: Foundation.Notification)
in KWTextFieldView
in order to compile.
I want cursor on my first textfield on viewdidload.
Is there any option or code snippet to enable or disable Secure text entry?
I have just added code for Secure text entry but because this code is configured with default value as " ", looks like it will need some more work in making it compatible with secure text entry because one blank space looks as * so it will not be empty.
So If anyone has made that I can directly use that
Does it support textContentType = .oneTimeCode ??
Hi , Please add a feature to be able to chagne keyboard input type ( NumberPad,ASCII, . . .)
Security Code Autofill in not working.
Automatic OTP verification in iOS - https://developer.apple.com/videos/play/wwdc2018/204/
this library auto fill is not working because of text field are not empty. first field has " " space. so pin number from sms is not showing on the keyboard.
Hi
I did not got access to isTappable property after updating the pod.
Did you merge the code after solving the issue?
Can I open keyboard on loading my view? I don't want my user to tap on the view. The keyboard should appear to the user automatically as soon as the view gets loaded.
Thanks
Is there any way to set keyboard content type?
Hi, just encountered a bug in the code and wanted to bring it to your notice. If we have a OTP field which has four digit and a user click on any other textfield rather than the first one we can type into the code from there. I think it should not work like that. At first the user should only be able to touch the first field. And the last field number gets replaced every time you press any other number that also should be blocked (i think). Please look into these.
How to make it becomeFirstResponder?
getVerificationCode return string with a whitespace.
I was trying to get the count of the string returned by getVerificationCode(). It alwasy shows 1 extra count since it has a whitespace
Hi,
It works fine for the first time.If I hide the keyboard and then try to edit again it is not editable any more.
Will you please resolve this as soon as possible?
tired try to remove text using coding like (Ex: kwtextfieldview.text = "")
Hi, I was wondering if this library works with the new iOS12 Autofill feature?
https://developer.apple.com/videos/play/wwdc2018/204/
Keyboard is not getting minimized after entering the 4th Digit.
Can you please let me know why exactly keyboard is not minimized ??
After the new update, the delegate isn't being called
Some funcs can not run on Swift 4.2 as well as:
I'm using 5 digits, how to handle user error if they entered only 2 numbers and clicked submit?
If all textfields are blank and tapped on last or second last. It should be first textfield focus or if first textfield filled then next textfield focus.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.