diff --git a/LGAlertView/LGAlertViewController.m b/LGAlertView/LGAlertViewController.m index 07912c3..873da81 100644 --- a/LGAlertView/LGAlertViewController.m +++ b/LGAlertView/LGAlertViewController.m @@ -76,4 +76,8 @@ - (UIStatusBarStyle)preferredStatusBarStyle { return [UIApplication sharedApplication].statusBarStyle; } +- (BOOL)prefersStatusBarHidden { + return [UIApplication sharedApplication].statusBarHidden; +} + @end