Open marcusvmsa opened 10 years ago
yes. why is this the case. can someone look into this.
It is happening.. at it actually changes the id selectedObject type class.. If you are using array of objects for the picker... every time the scroller changes selection, completion method gets called and selectedObject is an NSString, only after you press OK button you get your real selected object type.
i see the @rodrigofontes fix, but, to make a more compliance with the actual code, my suggestion is to separate completion
and selection
, i will submit a pull request with the code in a few minutes..
can you add demo of this.
Even i got same problem, how can we fix it ? Please help. Thanks in advance.
When I select a row in
MMPickerView
thecompletion
callback is executed. When I pressDone
too.Is there any way to execute
completion
callback only whenDone
is pressed and not when select a row?