Just replace following code in your demo with this, and you can see how this bug come out.
- (IBAction)showCXAlert:(id)sender
{
CXAlertView *alertViewMe = [[CXAlertView alloc] initWithTitle:defaultMessageTitle message:@"Something about me...." cancelButtonTitle:nil];
[alertViewMe addButtonWithTitle:@"click me first"
type:CXAlertViewButtonTypeDefault
handler:^(CXAlertView *alertView, CXAlertButtonItem *button) {
[alertView dismiss];
[[[CXAlertView alloc] initWithTitle:@"Alert"
message:@"Notice that this alert view's background is darker(double gray) than the first one, and no dark background on self.view"
cancelButtonTitle:@"Dismiss"] show];
}];
[alertViewMe addButtonWithTitle:@"click me"
type:CXAlertViewButtonTypeDefault
handler:^(CXAlertView *alertView, CXAlertButtonItem *button) {
[[[CXAlertView alloc] initWithTitle:@"Alert"
message:@"After you dismiss this alert view, the self.view can not be accessable, only change background view's alpha to 1 but not removed?"
cancelButtonTitle:@"Dismiss"] show];
[alertView dismiss];
}];
[alertViewMe show];
}