codestergit / SweetAlert-iOS

Live animated Alert View for iOS written in Swift
MIT License
2.05k stars 303 forks source link

Support to Modal Segues #8

Closed RennanAlves closed 9 years ago

RennanAlves commented 9 years ago

In the function showAlert isn't better to set the "window" (line 253) constant to "UIApplication.sharedApplication().keyWindow?.subviews.last"?

In my application, if I set the "keyWindow" to .first, the alert will be put in the back of a ViewController that is presented modally.

junstor commented 9 years ago

I was facing the same problem...

perezpaya commented 9 years ago

Same here :(

X140Yu commented 9 years ago

same problem

codestergit commented 9 years ago

@RennanAlves @junstor @alexperezpaya Can anyone please confirm. I have resolved the issue

codestergit commented 9 years ago

Please reopen if you get issue again. Closing for now.