Skip to content

Commit

Permalink
fix bug for allow user interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
jianfeng committed May 6, 2012
1 parent b5d11dd commit c3acb6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MTStatusBarOverlay.m
Expand Up @@ -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
Expand Down

0 comments on commit c3acb6d

Please sign in to comment.