Skip to content

Commit

Permalink
Take into account current status bar visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gKamelo committed Jan 18, 2017
1 parent aa5a4e3 commit f3fb0c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LGAlertView/LGAlertViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,8 @@ - (UIStatusBarStyle)preferredStatusBarStyle {
return [UIApplication sharedApplication].statusBarStyle;
}

- (BOOL)prefersStatusBarHidden {
return [UIApplication sharedApplication].statusBarHidden;
}

@end

0 comments on commit f3fb0c3

Please sign in to comment.