IDStatusBarManager provides an easy way to add animation on status bar.
#import "IDStatusBarManager.h"
NSDictionary *attrs = @{ NSFontAttributeName : [UIFont systemFontOfSize:15] };
NSAttributedString *attrStr = [[NSAttributedString alloc] initWithString:@"✓ Email has sent." attributes:attrs];
[IDStatusBarManager animatewAt:DRPositionCenter text:attrStr duration:3 completion:^(BOOL finished) {}];
- Swift support
- iPhoneX support