Here is a screenshot showing flags resized to fit in a square of size 20:
Custom Flag Size - Sized to Fit into 20x20 |
and here is a screenshot showing flags resized to fit in a square of size 80:
Custom Flag Size - Sized to Fit into 80x80 |
To set the desired flag size, just use the controller's flagSize property:
countryPicker.flagSize = 80;
You can get the latest version using CocoaPods, by adding a dependency to your Podfile:
pod 'EMCCountryPickerController' ~> '1.0'
If you are already using EMCCountryPickerController, then you just need to update your pod repository index:
$ pod repo update
and then and update your outdated project dependencies running this command in the project root directory:
$ pod update
Enjoy.
pod 'EMCCountryPickerController' ~> '1.0'
If you are already using EMCCountryPickerController, then you just need to update your pod repository index:
$ pod repo update
and then and update your outdated project dependencies running this command in the project root directory:
$ pod update
Enjoy.
No comments:
Post a Comment