chronotruck / FlagPhoneNumber

A formatted phone number UITextField with country flag picker.
Apache License 2.0
438 stars 316 forks source link

How to remove any country from this library. Does this library supports this feature? #187

Closed hamza-farooq-astutesol closed 3 years ago

hamza-farooq-astutesol commented 3 years ago

I am using this library in one of my clients project and the client wants us to remove a country from the picker? Is there any way to remove a country entry from the picker.

Awesome library. Thanks

hamza-farooq-astutesol commented 3 years ago

Found it in the documentation read me file. My bad. The one where it says:

phoneNumberTextField.setCountries(excluding: [.AM, .BW, .BA])