|
@@ -73,4 +73,17 @@
|
73
|
73
|
}
|
74
|
74
|
}
|
75
|
75
|
|
|
76
|
+- (UIStatusBarStyle)preferredStatusBarStyle {
|
|
77
|
+ NSString *styleString = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"UIStatusBarStyle"];
|
|
78
|
+
|
|
79
|
+ if ([styleString isEqualToString:@"UIStatusBarStyleLightContent"])
|
|
80
|
+ return UIStatusBarStyleLightContent;
|
|
81
|
+
|
|
82
|
+ return UIStatusBarStyleDefault;
|
|
83
|
+}
|
|
84
|
+
|
|
85
|
+- (BOOL)prefersStatusBarHidden {
|
|
86
|
+ return [[[NSBundle mainBundle] objectForInfoDictionaryKey:@"UIStatusBarHidden"] boolValue];
|
|
87
|
+}
|
|
88
|
+
|
76
|
89
|
@end
|