sammcewan / WYPopoverController

WYPopoverController is for the presentation of content in popover on iPhone / iPad devices. Very customizable.
Other
253 stars 74 forks source link

iOS8 UIAlertController hides behind WYPopoverController #25

Open VrasidasP opened 9 years ago

VrasidasP commented 9 years ago

In iOS 8, if you show an alert with UIAlertController while there is a WYPopoverController in the center of the screen, the WYPopoverController will be obstructed by the alert (as in the screenshot).

I tried presenting the UIAlertController from the keyWindow but the result is the same, the WYPopoverController is on top of everything.

Any ideas how to fix this? (I have already asked this on the nicolaschengdev master, and tried this newer fork to see if this problem persists, and it does)

tttt

VrasidasP commented 9 years ago

Hello! Any updates on this? UIAlertView works fine, but it's deprecated now.

PatrickNLT commented 9 years ago

Hey, I noticed that presenting the UIAlertController directly from the content view controller of the popover prevents this issue from happening. Then you get a warning (see #74), but for now it's working as expected.