alexanderjarvis / PXAlertView

A drop-in replacement for UIAlertView that is more customisable and skinnable
MIT License
592 stars 95 forks source link

Click cancel or ok this view dismiss, but there is no reaction, interface touch like dead, but there is no error #13

Closed zuozuo1985 closed 10 years ago

zuozuo1985 commented 10 years ago

Click cancel or ok this view dismiss, but there is no reaction, interface touch like dead, but there is no error

alexanderjarvis commented 10 years ago

Which version of iOS are you targeting? Have you tried the demo project?

On 4 Dec 2013, at 03:28, zuozuo1985 notifications@github.com wrote:

Click cancel or ok this view dismiss, but there is no reaction, interface touch like dead, but there is no error

— Reply to this email directly or view it on GitHub.

zuozuo1985 commented 10 years ago

Download yesterday,the demo project is ok,appeared in my engineering view disappeared after the UI don't respond, if their loading the cause of the window?

alexanderjarvis commented 10 years ago

Have you got a project on github where you can show this happening?

On 4 Dec 2013, at 09:31, zuozuo1985 notifications@github.com wrote:

Download yesterday,the demo project is ok,appeared in my engineering view disappeared after the UI don't respond, if their loading the cause of the window?

— Reply to this email directly or view it on GitHub.

alexanderjarvis commented 10 years ago

Closing because unable to reproduce problem.

hbugdoll commented 10 years ago

I've watched this behavior on iPad (3rd generation, iOS 7.0.4) in landscape orientation when showing an alert view inside the completion block from an other alert view (in connection to UISplitViewController). After dismissing second alert view the interface is "dead". No more interaction with the app is possible…

There is another issue when device is in landscape orientation, in this regard. The second alert view is then displaced (center position of whole screen is shifted in x-direction).

This additional 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: img_0128

2nd alert view inside completion block of 1st alert view: img_0129

hbugdoll commented 10 years ago

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 alert window.