Mindinventory / MIOTPVerificationSPM

This package is used for validating the OTP fields.
https://www.mindinventory.com/iphone-application-development.php
28 stars 8 forks source link

I am getting a different UI. #4

Open KOSURUUDAYSAIKUMAR opened 10 months ago

KOSURUUDAYSAIKUMAR commented 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.

Screenshot 2024-01-02 at 6 09 55 PM