We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
func setupOTP() { otpview.initializeOTPUI() otpview.fieldsCount = 4 otpview.borderWidth = 2 otpview.emptyFieldBorderColor = UIColor(fromHex: PreferenceKeys.validOTP) otpview.isSecureEntry = true otpview.secureEntrySymbol = .dot otpview.errorBorderColor = UIColor(fromHex: PreferenceKeys.invalidOTP) otpview.textColor = UIColor(fromHex: PreferenceKeys.loginMessageColor) otpview.cursorColor = UIColor(fromHex: PreferenceKeys.loginMessageColor) otpview.secureEntrySymbolColor = .clear otpview.enteredFieldBackgroundColor = .clear otpview.otpFieldDisplayType = .box otpview.delegate = self otpview.isTextfieldBecomFirstResponder = true }
Can you please help me how to fix this issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
func setupOTP() {
otpview.initializeOTPUI()
otpview.fieldsCount = 4
otpview.borderWidth = 2
otpview.emptyFieldBorderColor = UIColor(fromHex: PreferenceKeys.validOTP)
otpview.isSecureEntry = true
otpview.secureEntrySymbol = .dot
otpview.errorBorderColor = UIColor(fromHex: PreferenceKeys.invalidOTP)
otpview.textColor = UIColor(fromHex: PreferenceKeys.loginMessageColor)
otpview.cursorColor = UIColor(fromHex: PreferenceKeys.loginMessageColor)
otpview.secureEntrySymbolColor = .clear
otpview.enteredFieldBackgroundColor = .clear
otpview.otpFieldDisplayType = .box
otpview.delegate = self
otpview.isTextfieldBecomFirstResponder = true
}
Can you please help me how to fix this issue.
The text was updated successfully, but these errors were encountered: