All Projects → pcjbird → Qpdialcodepickerview

pcjbird / Qpdialcodepickerview

Licence: mit
International Dial Code Picker View for Country or Area 国家或地区国际区号选择器

Projects that are alternatives of or similar to Qpdialcodepickerview

PhoneCountryCodePicker
An iOS tableview picker for PhoneCountryCode (English & Chinese supported)
Stars: ✭ 31 (+106.67%)
Mutual labels:  code, country, picker
Nkvphonepicker
An UITextField subclass to simplify country code's picking. Swift 5.0
Stars: ✭ 131 (+773.33%)
Mutual labels:  country, picker
Codefont
60余种常用的等宽字体 愉快的code吧 欢迎issues我 收录更多字体 Happy code bar with more than 60 common fonts of equal width. Welcome issues. I include more fonts.
Stars: ✭ 68 (+353.33%)
Mutual labels:  code, emoji
EmojiPicker
This library to show a popover to select emoji for iOS
Stars: ✭ 58 (+286.67%)
Mutual labels:  emoji, picker
Rofimoji
An emoji and character picker for rofi 😁
Stars: ✭ 319 (+2026.67%)
Mutual labels:  emoji, picker
mr-emoji
Lightweight emoji picker like SLACK
Stars: ✭ 23 (+53.33%)
Mutual labels:  emoji, picker
csc picker
A flutter package to display a country, states, and cities. In addition it gives the possibility to select a list of countries, States and Cities depends on Selected, also you can search country, state, and city all around the world.
Stars: ✭ 25 (+66.67%)
Mutual labels:  country, picker
Countrypickerview
A simple, customizable view for efficiently collecting country information in iOS apps.
Stars: ✭ 397 (+2546.67%)
Mutual labels:  country, picker
Ngx Emoji Mart
Customizable Slack-like emoji picker for Angular
Stars: ✭ 322 (+2046.67%)
Mutual labels:  emoji, picker
country-flag-emoji-json
Country flag emojis in JSON format.
Stars: ✭ 92 (+513.33%)
Mutual labels:  emoji, country
Flagphonenumber
A formatted phone number UITextField with country flag picker.
Stars: ✭ 371 (+2373.33%)
Mutual labels:  country, picker
Emoji Mart
One component to pick them all 👊🏼
Stars: ✭ 4,687 (+31146.67%)
Mutual labels:  emoji, picker
Code Notes
A simple code snippet & gist manager for developers built with Electron & Vue.js 🚀
Stars: ✭ 919 (+6026.67%)
Mutual labels:  code
Emojis
this is emoji images
Stars: ✭ 9 (-40%)
Mutual labels:  emoji
Re Spinner
A spinner that supports item click events
Stars: ✭ 19 (+26.67%)
Mutual labels:  picker
Emojione Color Font
End of Life. Switch to https://github.com/eosrei/twemoji-color-font
Stars: ✭ 899 (+5893.33%)
Mutual labels:  emoji
Tempus Dominus
A powerful Date/time picker widget.
Stars: ✭ 6,900 (+45900%)
Mutual labels:  picker
Angular File Picker
A simple file picker for Angular
Stars: ✭ 9 (-40%)
Mutual labels:  picker
Abstractionlayers
Abstraction Layers
Stars: ✭ 16 (+6.67%)
Mutual labels:  code
Manamoji Slack
Slack emojis for Magic card symbols. Used by Scryfall’s Slack bot.
Stars: ✭ 16 (+6.67%)
Mutual labels:  emoji

logo Build Status Pod Version Pod Platform Pod License Carthage compatible GitHub release GitHub release Website

QPDialCodePickerView

International Dial Code Picker View for Country or Area 国家或地区国际区号选择器

特性 / Features

1.自定义确定按钮背景颜色。

2.自定义确定按钮标题。

3.支持多种地区名称显示格式:根据当前地区本地化所有地区名称/根据地区自身本地化地区名称/根据美国 (US) 地区本地化所有地区名称。

4.可配置是否显示灰色背景蒙版。

5.可配置是否显示圆角。

6.默认按钮“确定”已经国际化,请确保主工程项目支持该语言国际化选项,在项目 PROJECT - Localizations 中添加。

7.当前地区及当前时区的地区会显示在选择器的最前面。

演示 / Demo

 

 

安装 / Installation

方法一:直接下载, 打开工作区 QPDialCodePickerView.xcworkspace, 选择 Target QPDialCodePickerView-Universal进行编译,在根目录下的 product 目录下会生成 QPDialCodePickerView.frameworkQPDialCodePickerView.bundle, 将这两个文件添加到您的项目中即可。

方法二:QPDialCodePickerView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "QPDialCodePickerView"

方法三: 使用Carthage安装

Cartfile如下:

github "pcjbird/QPDialCodePickerView"

使用 / Usage

 __weak typeof (UIButton*) weakBtn = self.btnDialCode;
 QPDialCodePickerView *pickerView = [[QPDialCodePickerView alloc] initWithAreaFormat:QPDialCodeAreaNameFormatCurrentLocale complete:^(QPDialCodeObject *item) {
     [weakBtn setTitle:[NSString stringWithFormat:@"+%@", item.dial_code] forState:UIControlStateNormal];
 }];
 pickerView.roundCorner = YES;
 [pickerView show];

关注我们 / Follow us

Twitter URL Twitter Follow

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].