Open KOSURUUDAYSAIKUMAR opened 10 months ago
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.
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.