I just discovered that if I do the following:
- Click the button that animates a
UIPickerView
into my view - Quickly start the wheel rolling towards, then past, the last item
- Dismiss the view with a button
Then it has not yet selected the last item yet.
I tried this by simply outputting to the console whenever the didSelectRow
method was fired, and it fires when the wheel stabilizes on the last item.
Can I detect that the wheel is still rolling, so that I can delay checking it for a selected value until it stabilizes?
If it matters, I'm programming in MonoTouch, but I can read Objective-C code well enough to reimplement it, if you have a code example that is.
Expanded @iluvatar_GR, @Robert_at_Nextgensystems answer
Used Gesture, UIScrollView isDragging or isDecelerating.