title: how to hide systems status bar and show alert in status bar for few sec by animation in iOS 9
body: <p>I want to show alert in status bar for small duration with animation and hide systems status bar for that duration </p>
  
  <p>I have referred <a href="https://github.com/jaydee3/JDStatusBarNotification" rel="nofollow">this</a> but enable to hide system's status bar for that particular time,failed to add animation</p>
  
  <p><strong>Here is my code</strong> </p>
  
  <pre><code>NSString *status=@"welcome..";
  UIView *notificationView= [JDStatusBarNotification showWithStatus:(NSString *)status  styleName:JDStatusBarStyleDark];
  CGRect statusBarFrame = [[UIApplication sharedApplication] statusBarFrame];
  notificationView.frame=statusBarFrame;
  [self.view addSubview:notificationView];
  UIView *dismissNotificationView=[JDStatusBarNotification showWithStatus:(NSString *)status
  dismissAfter:(NSTimeInterval)5.0f styleName:JDStatusBarStyleDark];
  [self.view addSubview:dismissNotificationView];  `
  </code></pre>
  
  <p>also tried <a href="https://github.com/myell0w/MTStatusBarOverlay" rel="nofollow">this</a> but it moves another window then shows and turns back </p>
  
  <p>here is the code used</p>
  
  <pre><code> MTStatusBarOverlay *overlay = [MTStatusBarOverlay sharedInstance];
  overlay.animation = MTStatusBarOverlayAnimationFallDown;  // MTStatusBarOverlayAnimationShrink
  overlay.detailViewMode = MTDetailViewModeHistory;         // enable automatic history-tracking and show in detail-view
  overlay.delegate = self;
  overlay.progress = 0.0;
  [overlay postImmediateFinishMessage:@"welcome" duration:2.0 animated:YES];
  overlay.progress = 1.0;
  </code></pre>
  
  <p>please help..thanks in advance</p>