FlagPhoneNumber
FlagPhoneNumber copied to clipboard
Mobile Phone Placeholder
At the moment the placeholder shows a landline phone number, is it possible to use a mobile phone number placeholder?
FlagPhoneNumber
uses libPhoneNumber
lib and what I know about it now, it's not possible to use a mobile phone number.
Yes you can @grifas - see NBPhoneNumberUtil.
So it's possible to do the following in FPNTextField
let example = try phoneUtil.getExampleNumber(forType: countryCode.rawValue, type: NBEPhoneNumberType.MOBILE)
Edit. Maybe we could have a setExampleNumberType(_ type:NBEPhoneNumberType)
method
phoneNumberTextField.setExampleNumberType(NBEPhoneNumberType.MOBILE)