-
Add source folder on your project (drag and drop -> copy if need).
-
Add piece of code
let viewController = CountryCodesViewController(); viewController.delegate = self self.present(viewController, animated: true, completion: nil);
-
Add delegates to your controller
-
You will get callBack Here along with country name and dial code
func didSelectCountryCode(_ countryName: String, dialingCode: String) { print("Country Code: \(countryName), Dialing Code: (dialingCode)") }
-
Notifications
You must be signed in to change notification settings - Fork 0
RajaReddyiOS/CountryCodePicker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published