You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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];
}
The text was updated successfully, but these errors were encountered:
Just replace following code in your demo with this, and you can see how this bug come out.
The text was updated successfully, but these errors were encountered: