We attempted to set the contentType of UITextField to suggest hint about the added credit card number. Following code has been used :-
txtField.returnKeyType = .done
txtField.placeholder = "Credit Card Number"
txtField.borderStyle = .roundedRect
txtField.keyboardType = .default
txtField.textContentType = .creditCardNumber
We are not getting the expected suggestions about credit card no.
We have added one credit card in Account’s Payment & Shipping section.
Please help if I am missing something here.
Post
Replies
Boosts
Views
Activity
Apple pay payment is not working with sandbox test account. The delegate "didAuthorizePayment" not called on device.
The payment sheet is throwing error :- "Payment not completed".
Please help.