dbettermann / DBAlertController

A UIAlertController subclass that's independent of the view controller it's presented from. i.e. Adding UIAlertView's show() to UIAlertController.
MIT License
58 stars 19 forks source link

Reset original keywindow #17

Closed TeunVR closed 1 year ago

TeunVR commented 7 years ago

Need this otherwise UIApplication.shared.keyWindow?.rootViewController is nil after dismissing alert. See also: https://github.com/dbettermann/DBAlertController/pull/4

dbettermann commented 7 years ago

Can you send some sample code around this issue? I haven't ran into it yet.

Also, the referenced radar says iOS 9 beta 5. Are we sure it's still happening after updating everything?

TeunVR commented 7 years ago

Hmm, it is occuring in my real app but not in a small test-project i made. Have to investigate this further. If you want you can close this until further notice.

dbettermann commented 7 years ago

Interesting. I'll keep it open for a little bit in case I can provide assistance.