Latest 0.1.1
Homepage https://github.com/949478479/LXCountryCallingCodePicker
License MIT
Platforms ios 8.0
Authors

有国旗图案的国家区号选择器,包含 250 个国家地区,支持通过名称、拼音、代码、区号搜索。

列表中国旗是 emojiFlags 文件夹内有 250 个国家地区的 png 格式国旗图片。

LXCountryCallingCodePicker

pod 'LXCountryCallingCodePicker'
import LXCountryCallingCodePicker

let picker = CountryCallingCodePickerController()

picker.pickerDidSelectCountryCode = { [weak self] _, code in
    guard let `self` = self else { return }

    self.codeLabel.text = code.flag + " " + code.callingCode
    self.dismiss(animated: true, completion: nil)
}

present(picker, animated: true, completion: nil)

Latest podspec

{
    "name": "LXCountryCallingCodePicker",
    "version": "0.1.1",
    "summary": "u6709u56fdu65d7u56feu6848u7684u56fdu5bb6u533au53f7u9009u62e9u5668uff0cu5305u542b 250 u4e2au56fdu5bb6u5730u533auff0cu652fu6301u901au8fc7u540du79f0u3001u62fcu97f3u3001u4ee3u7801u3001u533au53f7u641cu7d22u3002",
    "homepage": "https://github.com/949478479/LXCountryCallingCodePicker",
    "license": "MIT",
    "authors": {
        "u5415u5c0fu603c": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/949478479/LXCountryCallingCodePicker.git",
        "tag": "0.1.1"
    },
    "source_files": "Source/*.{swift}",
    "resources": [
        "Source/*.json",
        "Source/*.storyboard"
    ]
}

Pin It on Pinterest

Share This