Open marcllucia opened 10 years ago
Thanks for the feedback, I will look into it and get back to you.
One question, how are you dismissing the control? Could you please show me the code you're using?
I just use the function +(void)dismissWithCompletion: (void(^)(NSString *))completion;
It crashes on the sample project too!
@marcllucia , @madjid I think the issue is different objects are passing to the completion block when a row is selected or 'done' is pressed. The first passes the selected string (by calling the supplied convert to string block) while the latter passes the actual selected object.
Whenever I try to dismiss the picker the app crashes. It seems the problem is in this line:
callBack([self selectedObject]);