Skip to content

Commit

Permalink
Merge pull request #110 from screeninteraction/develop
Browse files Browse the repository at this point in the history
wrap 'setNeedsStatusBarAppearanceUpdate' within performSelector:
  • Loading branch information
kcharwood committed Sep 18, 2013
2 parents d14e676 + 4c40bbd commit 5a24e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMDrawerController/MMDrawerController.m
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ -(UIViewController*)childViewControllerForStatusBarHidden{

-(void)setNeedsStatusBarAppearanceUpdateIfSupported{
if([self respondsToSelector:@selector(setNeedsStatusBarAppearanceUpdate)]){
[self setNeedsStatusBarAppearanceUpdate];
[self performSelector:@selector(setNeedsStatusBarAppearanceUpdate)];
}
}

Expand Down

0 comments on commit 5a24e06

Please sign in to comment.