QPDialCodePickerView

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


Keywords
area, calling, code, country, country-flags, dail, emoji, flag, international, picker
License
MIT
Install
pod try QPDialCodePickerView

Documentation

logo

QPDialCodePickerView

international dial code picker view for country or area 国家或地区国际区号选择器

Demo

demo

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