可在App上使用的国旗图标:FlagKit

jopen 9年前

可在App和Web上使用的漂亮国旗图标。

iOS

  1. AddFlagKit.xcassetsto your target.
  2. 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.


项目主页:http://www.open-open.com/lib/view/home/1444126820073