Awesome Open Source
Awesome Open Source

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


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
objective-c (10,905
city (37
address (31