Closed Michael-Lumpp closed 4 days ago
@mlch911
@Michael-Lumpp I have tried your code. And it wouldn't trigger the assert you mentioned.
BTW, your code could not build. Did you write any extension code to ActionSheetStringPicker
? We don't have the dismiss
function.
Could you provide a demo project that can reproduce this assert? Maybe just use our demo app.
@mlch911
Please feel free to check related issue.
I'm also seeing this crash on iPad when presenting from a UITableViewCell
I'm also seeing this crash on iPad when presenting from a
UITableViewCell
Could you provide a demo project?
Sure, here you go. Nothing fancy, just run it on the iPad simulator.
Hi all, @skywinder @Wei18 This works perfectly fine for iPhone, even latest Swift5, however trying now on latest iPad, I get this error:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to find Picker view's window. This may cause a memory leak.'
It seems to be hitting this block:
I am calling the code like such:
Any ideas or support? thank you so much