Presenting several toasts quickly causes animation to stop #33

BrettThePark opened this Issue Mar 5, 2014 · 2 comments


None yet

3 participants

Having several toast pop-up at the same time causes the following error in the console Multiple gravity behavior per animator is undefined and may assert in the future and causes the toast to not perform the out animation.

Here is the current setup:

    NSDictionary *options = @{
                              kCRToastTextKey : @"You now have 5 credits",
                              kCRToastTextAlignmentKey : @(NSTextAlignmentCenter),
                              kCRToastTextColorKey : [UIColor redColor],
                              kCRToastBackgroundColorKey : [UIColor blackColor],
                              kCRToastAnimationInTypeKey : @(CRToastAnimationTypeGravity),
                              kCRToastAnimationOutTypeKey : @(CRToastAnimationTypeGravity),
                              kCRToastAnimationInDirectionKey : @(CRToastAnimationDirectionLeft),
                              kCRToastAnimationOutDirectionKey : @(CRToastAnimationDirectionRight),
                              kCRToastNotificationTypeKey : @(CRToastTypeNavigationBar),
                              kCRToastNotificationPresentationTypeKey : @(CRToastPresentationTypePush),
                              kCRToastTimeIntervalKey : @1,
                              kCRToastFontKey : [UIFont systemFontOfSize:24]
    [CRToastManager showNotificationWithOptions:options


Damn thanks for the report @BrettThePark will take a look

@vIiRuS vIiRuS referenced this issue Mar 18, 2014

Fix for #33 #39

@Ashton-W Ashton-W added the bug label Apr 25, 2014

Closing since #39 was merged

@Ashton-W Ashton-W closed this Apr 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment