card.io-iOS-SDK icon indicating copy to clipboard operation
card.io-iOS-SDK copied to clipboard

Is there a way to get the card type by number without scanning?

Open colbs255 opened this issue 6 years ago • 1 comments

General information

  • SDK/Library version:
  • iOS Version and Device:
  • Integration type and version:

Issue description

If a user enters their card number manually (no scanning), I would like to get the card type using card IO. Is there a way to do this?

colbs255 avatar May 29 '18 21:05 colbs255

try this, let card = CardIOCreditCardInfo() card.cardNumber = manuallyEnteredCardNumber let cardType = card.cardType

popwarfour avatar Jul 06 '18 20:07 popwarfour