Showing an alert view inside the completion block from an other alert view
(in connection to UISplitViewController)
leads to following issue on iPad (testet under iOS 7.x) in landscape orientation:
After dismissing second alert view the interface is "dead". No more interaction with the app
is possible…
The second alert view is then displaced (center position of whole screen is shifted in x-direction).
This issue you can reproduce by taking the demo project,
adding a new button in iPad storyboard (is yet incomplete) connected to showAlertInsideAlertCompletion:
and run it on iPad in landscape orientation. See screenshots!
1st alert view:
2nd alert view inside completion block of 1st alert view:
The problems went away when creating a new alert window (UIWindow with UIWindowLevelAlert) for every alert view resp. do not reusing the existing alert window.
I guess the basic problem is located in way of reusing the single alert window.
I've reported already this as comments on a closed issue (https://github.com/alexanderjarvis/PXAlertView/issues/13):
Showing an alert view inside the completion block from an other alert view (in connection to
UISplitViewController
) leads to following issue on iPad (testet under iOS 7.x) in landscape orientation:After dismissing second alert view the interface is "dead". No more interaction with the app is possible… The second alert view is then displaced (center position of whole screen is shifted in x-direction).
This issue you can reproduce by taking the demo project, adding a new button in iPad storyboard (is yet incomplete) connected to
showAlertInsideAlertCompletion:
and run it on iPad in landscape orientation. See screenshots!1st alert view:
2nd alert view inside completion block of 1st alert view:
The problems went away when creating a new alert window (
UIWindow
withUIWindowLevelAlert
) for every alert view resp. do not reusing the existing alert window. I guess the basic problem is located in way of reusing the single alert window.