Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flicker on dismiss #73

Open
jwardle opened this issue Jul 29, 2014 · 2 comments
Open

Flicker on dismiss #73

jwardle opened this issue Jul 29, 2014 · 2 comments

Comments

@jwardle
Copy link

jwardle commented Jul 29, 2014

The semi-transparent background / containerView behind the alert view box flickers on/off rapidly when the alert is dismissed.

Have seen this behaviour on iOS7 & iOS8 Simulator & devices.

@SAJK111
Copy link

SAJK111 commented Sep 19, 2014

  • 1

@handicop
Copy link

Has anyone experienced the same? or resolved?

iPhone 5, iOS 8.1.3
Recorded: https://dl.dropboxusercontent.com/u/6520543/sialert_statusbar_flickering.mov

- (IBAction)makeList:(id)sender {
    SIAlertView *alertView = [[SIAlertView alloc] initWithTitle:@"Make Playlists?" andMessage:@"Let's make!"];
    [alertView addButtonWithTitle:@"Ok"
                             type:SIAlertViewButtonTypeDestructive
                          handler:^(SIAlertView *alert) {

                              self.CreatedFileCount = 0;
                              self.MusicFileCount = 0;
                              self.HUD = self.prototypeHUD;
                              self.HUD.textLabel.text = @"Creating...";
                              [self.HUD showInView:self.navigationController.view];
                              [self performSelector:@selector(runProcess) withObject:nil afterDelay:1];

                          }];

    [alertView addButtonWithTitle:@"Cancel"
                             type:SIAlertViewButtonTypeCancel
                          handler:^(SIAlertView *alert) {
                                                        }];

    alertView.willShowHandler = ^(SIAlertView *alertView) {
        NSLog(@"%@, willShowHandler", alertView);
    };
    alertView.didShowHandler = ^(SIAlertView *alertView) {
        NSLog(@"%@, didShowHandler", alertView);
    };
    alertView.willDismissHandler = ^(SIAlertView *alertView) {
        NSLog(@"%@, willDismissHandler", alertView);
    };
    alertView.didDismissHandler = ^(SIAlertView *alertView) {
        NSLog(@"%@, didDismissHandler", alertView);
    };

    alertView.transitionStyle = SIAlertViewTransitionStyleFade ;

    [alertView show];

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants