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

Notification not always displaying text #17

Open
jsealey opened this issue Feb 22, 2013 · 0 comments
Open

Notification not always displaying text #17

jsealey opened this issue Feb 22, 2013 · 0 comments

Comments

@jsealey
Copy link

jsealey commented Feb 22, 2013

I wrote this function as a way of reproducing the issue. If you try to "show" a notification while the previous notification is in the process of hiding, it will not display the message on the second time around.

This problem appears when the user has many notifications within a short amount of time.

 - (void) notification{
     [self.notificationView setTextLabel:@"message displayed"];
     [self.notificationView show:YES];
     [self.notificationView hideAnimatedAfter:1.0f];
     [NSTimer scheduledTimerWithTimeInterval:1.0f
                                      target:self
                                    selector: @selector(notification)
                                    userInfo:nil
                                     repeats:NO];
 }

iOS Simulator Screen shot Feb 21 2013 7 18 48 PM

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

1 participant