Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
4taras4 authored Mar 16, 2018
1 parent 349c2e8 commit ca42b7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class ViewController: UIViewController, CountryPickerDelegate {
//init Picker
picker.displayOnlyCountriesWithCodes = ["DK", "SE", "NO", "DE"] //display only
picker.exeptCountriesWithCodes = ["RU"] //exept country
let theme = CountryViewTheme(countryCodeTextColor: .white, countryNameTextColor: .white, rowBackgroundColor: .black, showFlagsBorder: false) //optional for UIPickerView theme changes
picker.theme = theme //optional for UIPickerView theme changes
picker.countryPickerDelegate = self
picker.showPhoneNumbers = true
picker.setCountry(code!)
Expand Down

0 comments on commit ca42b7d

Please sign in to comment.