DownPicker
DownPicker copied to clipboard
Could not customise picker's toolbar.
Please expose picker's toolbar for easier customisation.
Could you elaborate? What do you mean with "toolbar"?
Please expose UIPickerView so that developer could customise the view easily.
Customisation may include:
- Picker's cancel and done button
- Picker's top bar background color
- Picker view itself (using delegate method: - (UIView *)pickerView:(UIPickerView *)aPickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view) ... )
I notice that picker view is only created in -(IBAction)showPicker function. Probably you could create two delegate/protocol method: - (void)downPicker:(DownPicker *)downPicker willShowWithToolbar:(UIToolbar *)toolbar after pickerView is being instantialized and - (void)downPicker:(DownPicker *)downPicker didShowWithToolbar:(UIToolbar *)toolbar inside showPicker function.
Having the same issue. I'm trying to customize the color of the toolbar that goes with the UIPickerView but it isn't accessible.