/JHAddressPickView

省市区选择器,省市二级选择,省市区三级选择,PickView,地址选择器

Primary LanguageObjective-CMIT LicenseMIT

JHAddressPickView

省市区选择器,省市二级选择,省市区三级选择,PickView


Usage

    _pickView = [[JHAddressPickView alloc] init];
    _pickView.hideWhenTapGrayView = YES;
    _pickView.columns = 2;    // 省市二级选择
    //_pickView.columns = 3;  // 省市区三级选择
    [_pickView showInView:self.view];
    
    // 选择结果
    
     {
       city = "北京市";
       cityCode = 110100;
       province = "北京";
       provinceCode = 110000;
    }
    
    {
      city = "北京市";
      cityCode = 110100;
      province = "北京";
      provinceCode = 110000;
      town = "东城区";
      townCode = 110101;
    }

Logs

2018-9-15

  • fix bug
    • 视图出现,第一次点击“确认”时,选中信息为nil

2018-9-14

  • upload.

What

省市二级选择

image

省市区三级选择

image