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
If alerts are shown in quick succession (i.e. first dismiss an alert and then shown another right after dismissing the prior alert) [SDCAlertController presentWithAnimated] fails with the following message:
Warning: Attempt to present "SDCAlertController: 0x7f9b99ab0760" on "SDCAlertController: 0x7f9b9fd44af0" whose view is not in the window hierarchy!
The workaround seems to be to wait atleast a second or two before calling presentWithAnimated. Any ideas why this is happening?
The text was updated successfully, but these errors were encountered:
Yeah this is more or less expected. You can't present on view controllers that haven't been fully presented yet. If you try the same with UIAlertController, it will give you that same warning.
The solution is a system that's a little more flexible, which I'm planning to implement but haven't gotten to yet. See #112.
If alerts are shown in quick succession (i.e. first dismiss an alert and then shown another right after dismissing the prior alert) [SDCAlertController presentWithAnimated] fails with the following message:
Warning: Attempt to present "SDCAlertController: 0x7f9b99ab0760" on "SDCAlertController: 0x7f9b9fd44af0" whose view is not in the window hierarchy!
The workaround seems to be to wait atleast a second or two before calling presentWithAnimated. Any ideas why this is happening?
The text was updated successfully, but these errors were encountered: