You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using both SwiftMessages (thanks again for the amazing job @wtmoose) and SCLAlertView-Swift.
After upgrading to 8.0.4, there's a crash caused by SwiftMessages.
The actual workflow is:
show a SwiftMessage (called in viewWillAppear) with the follow config:
close the SwiftMessage by tapping outside the alert
click on the button that should open a SCLAlertView
Fatal error: Unexpectedly found nil while unwrapping an Optional value: file SCLAlertView/SCLAlertView.swift, line 714
The crash is on this line let rv = UIApplication.shared.keyWindow! as UIWindow
I see that the crash should be handled by someone at SCLAlertView-Swift, but why is SwiftMessages causing it?
It was working fine until version 8.0.3.
The text was updated successfully, but these errors were encountered:
In your scenario, the message is assuming key window status because you're using a dimming view. 8.0.4 made a change to allow the message view's window to be deallocated on dismissal, but that left your app in a state without a key window. 8.0.5 should fix that be restoring the previous key window on dismissal.
I'm using both
SwiftMessages
(thanks again for the amazing job @wtmoose) and SCLAlertView-Swift.After upgrading to
8.0.4
, there's a crash caused by SwiftMessages.The actual workflow is:
viewWillAppear
) with the follow config:I see that the crash should be handled by someone at
SCLAlertView-Swift
, but why isSwiftMessages
causing it?It was working fine until version
8.0.3
.The text was updated successfully, but these errors were encountered: