可在App上使用的国旗图标:FlagKit
jopen
9年前
可在App和Web上使用的漂亮国旗图标。
iOS
- AddFlagKit.xcassetsto your target.
- Get an icon for your locale:
UIImage(named: NSLocale.autoupdatingCurrentLocale().objectForKey(NSLocaleCountryCode) as! String)
[UIImage imageNamed:[[NSLocale autoupdatingCurrentLocale] objectForKey:NSLocaleCountryCode]];
Sketch
To be able to open the Sketch-file, please use the Sketch Beta.