开发者

handle clicks to UIPickerView rows

开发者 https://www.devze.com 2023-03-05 00:45 出处:网络
I handle clicks to UIPickerView rows with a regular method - (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component

I handle clicks to UIPickerView rows with a regular method

- (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component 

but it works only for non-current rows. My problem is that I need to get taps on the already selected (current) row also. Any ideas or workarounds for didSelec开发者_高级运维tRow? Thanks.


You could put a clear button over each row and handle touches from it like any other button.

0

精彩评论

暂无评论...
验证码 换一张
取 消