Skip to content

ruanqiaohua/AreaPickViewController

Repository files navigation

AreaPickViewController

地区选择器

Image

- (IBAction)buttonPressed:(UIButton *)sender {

    AreaPickerViewController *areaPicker = [AreaPickerViewController showAreaPicker:13 city:0 area:0];
    [areaPicker sureButtonPressedCallBack:^(AreaPickerViewController *areaPicker, AreaPickerModel *model) {
        _textLabel.text = [NSString stringWithFormat:@"%@ %@ %@",model.province,model.city,model.area];
        [areaPicker dismiss];
    }];
}

Releases

No releases published

Packages

No packages published