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.