Skip to content

Commit

Permalink
Merge pull request #3 from ilin-in/patch-1
Browse files Browse the repository at this point in the history
Fixed contentView on setTabHidden:: when animated
  • Loading branch information
tonymillion committed Dec 21, 2013
2 parents 97d6570 + 9d2a149 commit 145e907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExpandingView/UITabBarController+hidable.m
Expand Up @@ -63,7 +63,7 @@ - (void)setTabBarHidden:(BOOL)hidden animated:(BOOL)animated
TABBAR_HEIGHT);
}
completion:^(BOOL finished) {
self.tabBar.frame = CGRectMake(self.view.bounds.origin.x,
contentView.frame = CGRectMake(self.view.bounds.origin.x,
self.view.bounds.size.height,
self.view.bounds.size.width,
TABBAR_HEIGHT);
Expand Down

0 comments on commit 145e907

Please sign in to comment.