Skip to content

Get Current Counrty Name Based on Location and get Country Code , Country Name , Country Flag and we can able to get country list and search country

License

Notifications You must be signed in to change notification settings

syedrazackimran/CountryCodePicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CountryCodePicker

Requirements

Getting Current Location Country Name, Dial Code and Flag Change CountryPicker

Steps

'1. didFinishLaunchingWithOptions

assign CLLocationMaganer to get current lattitude and longitude by CLLocationMaganer Delegate and CLPlaceMarker get Country Code

  1. didupdateLocation Pass dictionary by using NotificationCenter to Viewcontroller to update current country details'

CountryCodeVC

SearchBar - to search counrty Image ,country name and dial code

protocol is used to pass details to viewcontroller

Resources

Country.json is Json file contain list country with name, code and dial code

Usage

  • Easy to customize CounrtyCodeVC
  • get Current country Details

Author

Imran, [email protected]

License

CountryCodePicker is available under the MIT license. See the LICENSE file for more info.