Debit / Credit Card Number validation for UITextField in ios Swift
Budget: ₹600 – ₹1,500 INR
Need to prepare a POC for UITextField with credit / debit card number validation like in payment apps
1. UI Text filed length should not be greater than 23 digits
2. UI Text filed length should accept only numbers / keypad should be number key board.
3. Every after 4 digits we need to give space
4. if user need to edit the entered digits he can move the cursor along the TextField.
5. if we delete the digits in the middle of the card number, then cursor should be at the same position where we delete.
Steps in ScreenShot
1st screen - As Usual
2nd screen - cursor is moved to the digits where we need to delete digit.
3rd Screen - digit '6' is deleted from the string, after deleting cursor is moved to last -(Need to solve this issue)
4th screen - again cursor is moved to digit '4' to enter one more digit
5. after entering the digit after '4', then cursor is again moved to last- (Need to solve this).
Issue: After adding or deleting the digits in between, then cursor is moving to last. Need to resolve this.
1. UI Text filed length should not be greater than 23 digits
2. UI Text filed length should accept only numbers / keypad should be number key board.
3. Every after 4 digits we need to give space
4. if user need to edit the entered digits he can move the cursor along the TextField.
5. if we delete the digits in the middle of the card number, then cursor should be at the same position where we delete.
Steps in ScreenShot
1st screen - As Usual
2nd screen - cursor is moved to the digits where we need to delete digit.
3rd Screen - digit '6' is deleted from the string, after deleting cursor is moved to last -(Need to solve this issue)
4th screen - again cursor is moved to digit '4' to enter one more digit
5. after entering the digit after '4', then cursor is again moved to last- (Need to solve this).
Issue: After adding or deleting the digits in between, then cursor is moving to last. Need to resolve this.