文件名称:CountryCode::bullseye:Swift的国家和电话代码选择器
文件大小:1.26MB
文件格式:ZIP
更新时间:2024-06-10 20:59:09
swift countries picker flags uipickerview
国家选择器 选择器代码Swift 3/4/5。 例子 要运行示例项目,请克隆存储库,然后首先从Example目录运行pod install 。 用法 使您的UIPickerView成为CountryPicker的类,设置其countryPickerDelegate并实现其countryPhoneCodePicker方法。 例子: import CountryPicker class ViewController : UIViewController , CountryPickerDelegate { @IBOutlet weak var picker: CountryPicker ! override func viewDidLoad () { super . viewDidLoad () // get current