Closed RobbiewOnline closed 2 years ago
I think #97 may be the one to fix this.
Can you check with the new 1.4.0 version?
I can confirm that 1.4.0 does resolve the crashing issue
π Thank you.
Sorry that it took a while to respond, I had to evert two different sections of code to re-create my original crash.
π Bug Report
Attempting to display an iOS UIAlertView whilst a BTProgressHUD is still showing a spinner intermittently causes a crash.
β Expected behavior
Dialog to be displayed, with the ability to either dismiss the spinner before or after the UIAlertView is on screen.
πͺ Reproduction steps
Display a progress spinner
Display a system dialog
Try to dismiss the HUD after the Alert View is present
This often causes the crash.
π Configuration
I would have said BTProgressHUD directly, however I discovered the 3rd party package ACR.UserDialogs in my installed NuGets, so I've removed that NuGet and it's still crashing.
π¦ Package Version: 1.3.5
π± iOS Version: iOS 15.5 Public Beta 3
π₯ Crash log:
π€·π»ββοΈ Workaround:
For some reason forcing a BTProgressHUD.Dismiss prior to display a system alert isn't enough on its own, however, delaying the alert by taking it off and back on the UI thread seems to do the trick π€ However, usually I can display a popup whilst the spinner is still going.
Alternatively switching from UIAlertView to Xamarin Forms own DisplayAlert works without the hacky delays.