QPDialCodePickerView
international dial code picker view for country or area 国家或地区国际区号选择器
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];