Skip to content

Commit

Permalink
Merge pull request #21 from gKamelo/status_bar_visibility_inheritance
Browse files Browse the repository at this point in the history
Take into account current status bar visibility
  • Loading branch information
Friend-LGA authored Jan 19, 2017
2 parents aa5a4e3 + f3fb0c3 commit 888ee0d
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 888ee0d

Please sign in to comment.