alexanderjarvis / PXAlertView

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

Clicking cancel button jump to Initial ViewController on ios5.x simulator #10

Closed zhoujie903 closed 10 years ago

zhoujie903 commented 10 years ago

i write a Demo for this issue on :https://github.com/zhoujie903/PXAlertViewIssue.git i modify some code in PXAlertView for running on ios5.x(xcode4.6.3) I found a solution to this problem: in [- (void)dismiss:(id)sender] modify this line code [self.mainWindow makeKeyAndVisible] to [self.mainWindow makeKeyWindow]

overminder commented 9 years ago

I encountered the same problem on an iOS 8 iPhone 6 simulator (Xcode 6.3.1). The fix still works though.