Permalink
Browse files

fix bug for allow user interaction

  • Loading branch information...
1 parent b5d11dd commit c3acb6d2f073ec93ad31baef90c58498c1513ac2 @jianfeng jianfeng committed May 6, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 MTStatusBarOverlay.m
View
@@ -775,7 +775,10 @@ - (void)hide {
[self setDetailViewHidden:YES animated:YES];
// hide status bar overlay with animation
- [UIView animateWithDuration:self.shrinked ? 0. : kAppearAnimationDuration animations:^{
+ [UIView animateWithDuration:self.shrinked ? 0. : kAppearAnimationDuration
+ delay:0
+ options:UIViewAnimationOptionAllowUserInteraction
+ animations:^{
[self setHidden:YES useAlpha:YES];
} completion:^(BOOL finished) {
// call delegate

0 comments on commit c3acb6d

Please sign in to comment.