Open zelin opened 8 years ago
The problem in my case was IQKeyboardManager library. I removed this folder from my project and DownPicker works fine.
I solved it like below.
in .h file @Property (nonatomic) DownPicker picker1; @Property (nonatomic) DownPicker picker2;
in .m file NSArray *array1 = @[@"data 1", @"data 2", @"data 3"]; self.picker1 = [[DownPicker alloc] initWithTextField:self.priceTierTF withData:array1];
NSArray *array2 = @[@"data 1", @"data 2", @"data 3"]; self.picker2 = [[DownPicker alloc] initWithTextField:self.priceTierTF withData:array2];
I am having a weird issue,
here is what i am doing
However it seems to me that only MinPrice picker works. When i click on it, suddenly all the picker values change to initial value? Also when i try to pick through other pickers i get a crash at
textField and pickerView are nil. Not sure why the MinPrice picker is working and others not? and why their value change first time when i click on minPrice