-1

I have a registration page in that I have mobile number field. Where, user can select country code from my 3rd party library (MICountryPicker), user will enter mobile number manually

now my question is, if user selected Kuwait country code & if he give Indian mobile number I have to show some error message like "not valid mobile number"

Is there any library to validate both country code & mobile number ?

Bhanuteja
  • 41
  • 2
  • 6

1 Answers1

-2

PhoneNumberKit a swift framework for parsing, formatting and validating international phone numbers.

Setup with coacopods

pod 'PhoneNumberKit'
Dharma
  • 3,007
  • 3
  • 23
  • 38