19 KiB
19 KiB
FlagKit 
Beautiful flag icons for usage in apps and on the web.
iOS
Without dependency management
- Add
FlagKit.xcassetsto your target. - Get an icon for your locale:
UIImage(named: NSLocale.autoupdatingCurrentLocale().objectForKey(NSLocaleCountryCode) as! String)
[UIImage imageNamed:[[NSLocale autoupdatingCurrentLocale] objectForKey:NSLocaleCountryCode]];
Carthage
- Add FlagKit to your
Cartfile:
github "madebybowtie/FlagKit"
- Get an icon for your locale:
UIImage(flagImageWithCountryCode: NSLocale.autoupdatingCurrentLocale().objectForKey(NSLocaleCountryCode) as! String)
[UIImage flagImageWithCountryCode:[[NSLocale autoupdatingCurrentLocale] objectForKey:NSLocaleCountryCode]];
Sketch
To be able to open the Sketch-file, please use the Sketch Beta.
License
FlagKit is released under the MIT license. See LICENSE.
More Info
Have a question? Please open an issue!
Reference
This set currentry includes the 183 flags below:
| Flag | Code | Region |
|---|---|---|
![]() |
EU | European Union |
![]() |
WW | World |






















































































































































































