Beautiful flag icons for usage in apps and on the web.
- Add
FlagKit.xcassets
to your target. - Get an icon for your locale:
UIImage(named: NSLocale.autoupdatingCurrentLocale().objectForKey(NSLocaleCountryCode) as! String)
[UIImage imageNamed:[[NSLocale autoupdatingCurrentLocale] objectForKey:NSLocaleCountryCode]];
- 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]];
To be able to open the Sketch-file, please use the Sketch Beta.
FlagKit is released under the MIT license. See LICENSE.
Have a question? Please open an issue!
This set currentry includes the 181 flags below:
Flag | Code | Region |
---|---|---|
EU | European Union | |
WW | World |