How to start scrolling UIPickerView before it's visible?

393 views Asked by At

I want to start dragging and make it visible at the same time. As of now, I have to click a button to make the pickerview visible and then scroll to select the desired row. How can I start the selection as soon as I start dragging from the button?

I tried to illustrate both cases in this gif.

1

There are 1 answers

0
JordanC On BEST ANSWER

You can try setting the alpha to the minimum non-zero value then set it to 1 when it starts scrolling (you can tell when it starts scrolling because it will call its delegate methods; viewForRow, titleForRow etc.) Not a perfect solution but might work for you.