RMPhoneFormat provides a simple to use class for formatting phone numbers in iOS apps. The formatting should replicate what you would see in the Contacts app for the same phone number.
266
stars
61
forks
source link
Validation for some international telephone numbers not working #22
I'm glad I found this little utility of yours, am impressed by the "on-the-fly" formatting, but am having some issues with phone number validation for some countries.
My initial tests show that the validation doesn't work at all for Italy (valid number shows as invalid) or Germany (while typing the number it shows up valid at the halfway point but not when complete).
I used the PhoneFormats.dat file from the sdk9.3 simulator.
Would it help to try a different formats file or are there known issues with these numbers?
Thanks for any help. I'd really like to get this working!
Hi,
I'm glad I found this little utility of yours, am impressed by the "on-the-fly" formatting, but am having some issues with phone number validation for some countries.
My initial tests show that the validation doesn't work at all for Italy (valid number shows as invalid) or Germany (while typing the number it shows up valid at the halfway point but not when complete).
I used the PhoneFormats.dat file from the sdk9.3 simulator.
Would it help to try a different formats file or are there known issues with these numbers?
Thanks for any help. I'd really like to get this working!