libPhoneNumber-iOS
libPhoneNumber-iOS copied to clipboard
011913456789012 Phone Number to get Country Code its not working
I have used this method to get country code
NBPhoneNumberUtil *phoneUtil = [[NBPhoneNumberUtil alloc] init];
NSString *nationalNumber = nil;
NSNumber *countryCode = [phoneUtil extractCountryCode:@"011913456789012" nationalNumber:&nationalNumber];
But it return [0] as a result.
I have saved this format of number to call from USA to INDIA.
SO please help me for this to get proper country code (01191) Thank you. @iziz