CountryPickerMova
示例
let countryPicker = CountryPicker()
countryPicker.setCountry("en_US")
countryPicker.backgroundColor = .white
let theme = CountryViewTheme(countryCodeTextColor: Asset.slateGrey.color,
countryNameTextColor: Asset.slateGrey.color,
rowBackgroundColor: .white,
showFlagsBorder: false)
countryPicker.theme = theme
countryPicker.showPhoneNumbers = false
countryPicker.countryPickerDelegate = self
textField.inputView = countryPicker
textField.tintColor = .clear
安装
CountryPickerMova 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile
pod 'CountryPickerMova'
作者
valic, [email protected]
许可证
CountryPickerMova 采用 MIT 许可证。有关更多信息,请参阅 LICENSE 文件。