diff --git a/README.md b/README.md index a08276ff..80eeafd5 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,14 @@ This code ``` objc NSDictionary *options = @{kCRToastTextKey : @"Hello World!", - kCRToastTextAlignmentKey : @(NSTextAlignmentCenter), - kCRToastBackgroundColorKey : [UIColor redColor], - kCRToastAnimationTypeKey : @(CRToastAnimationTypeSpring), - kCRToastAnimationInDirectionKey : @(CRToastAnimationDirectionLeft), - kCRToastAnimationOutDirectionKey : @(CRToastAnimationDirectionRight), - kCRToastAnimationInTimeIntervalKey : @(0.5), - kCRToastAnimationOutTimeIntervalKey: @(0.5)}; + kCRToastTextAlignmentKey : @(NSTextAlignmentCenter), + kCRToastBackgroundColorKey : [UIColor redColor], + kCRToastAnimationInTypeKey : @(CRToastAnimationTypeGravity), + kCRToastAnimationOutTypeKey : @(CRToastAnimationTypeGravity), + kCRToastAnimationInDirectionKey : @(CRToastAnimationDirectionLeft), + kCRToastAnimationOutDirectionKey : @(CRToastAnimationDirectionRight), + kCRToastAnimationInTimeIntervalKey : @(0.5), + kCRToastAnimationOutTimeIntervalKey: @(0.5)}; [CRToastManager showNotificationWithOptions:options completionBlock:^{ NSLog(@"Completed"); diff --git a/screenshots/red_notification.gif b/screenshots/red_notification.gif index c5f6dce4..b53aec46 100644 Binary files a/screenshots/red_notification.gif and b/screenshots/red_notification.gif differ