自定义inputView的时候使用UIPickerView,自定义高度的时候会出现inputAccessoryView与inputView坐标错乱
如图:
解决方式:
UIView *inputView = [[UIView alloc]initWithFrame:self.pickerView.bounds];
[inputView addSubview:self.pickerView];
self.inputView = inputView;
自定义inputView的时候使用UIPickerView,自定义高度的时候会出现inputAccessoryView与inputView坐标错乱
如图:
解决方式:
UIView *inputView = [[UIView alloc]initWithFrame:self.pickerView.bounds];
[inputView addSubview:self.pickerView];
self.inputView = inputView;