Showing
1 changed file
with
4 additions
and
0 deletions
| @@ -44,7 +44,11 @@ static void InitializeFlipper(UIApplication *application) { | @@ -44,7 +44,11 @@ static void InitializeFlipper(UIApplication *application) { | ||
| 44 | moduleName:@"NGPlay" | 44 | moduleName:@"NGPlay" |
| 45 | initialProperties:nil]; | 45 | initialProperties:nil]; |
| 46 | 46 | ||
| 47 | + if (@available(iOS 13.0, *)) { | ||
| 48 | + rootView.backgroundColor = [UIColor systemBackgroundColor]; | ||
| 49 | + } else { | ||
| 47 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; | 50 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; |
| 51 | + } | ||
| 48 | 52 | ||
| 49 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; | 53 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; |
| 50 | UIViewController *rootViewController = [UIViewController new]; | 54 | UIViewController *rootViewController = [UIViewController new]; |
-
Please register or login to post a comment