Determining credit/debit card type
Posted
by ct2k7
on Stack Overflow
See other posts from Stack Overflow
or by ct2k7
Published on 2010-04-05T13:30:44Z
Indexed on
2010/04/05
13:33 UTC
Read the original article
Hit count: 295
Hi, I'm writing a POS application for the iPhone/iPod combination, using the same exact hardware used in Apple Stores:: EasyPay.
Ok, my hurdle is this: how do I identify which credit card type is being used as text is entered in the uitextfield?
I assume I've to use textField:shouldChangeCharactersInRange:replacementString:
? However, I've got ideas floating around, but I simple cannot put them together to form code :/
Any help is appreciated!
Thanks in advanced :D
© Stack Overflow or respective owner