1、iOS 省市区选择器AddressPickerView封装
使用:
1、引入#import "AddressPickerView.h"
2、@property (nonatomic ,strong) AddressPickerView * pickerView;
3、- (AddressPickerView *)pickerView{
if (!_pickerView) {
_pickerView = [[AddressPickerView alloc]init];
_pickerView.delegate = self;
[_pickerView setTitleHeight:50 pickerViewHeight:165];
// 关闭默认支持打开上次的结果
// _pickerView.isAutoOpenLast = NO;
}
return _pickerView;
}
4、[self.pickerView show];
[self.pickerView hide];