From 8f8010f64b6c4ef0b70ba996403e8155a91a6c0e Mon Sep 17 00:00:00 2001 From: Peter Keller Date: Tue, 11 Sep 2018 20:58:43 -0400 Subject: [PATCH] Fix orientation change display issue See commit 20945 in react native --- ios/NativeStarterKit/AppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/NativeStarterKit/AppDelegate.m b/ios/NativeStarterKit/AppDelegate.m index 0eaed57..00f2bdc 100644 --- a/ios/NativeStarterKit/AppDelegate.m +++ b/ios/NativeStarterKit/AppDelegate.m @@ -30,7 +30,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( moduleName:@"NativeStarterKit" initialProperties:nil launchOptions:launchOptions]; - rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; + rootView.backgroundColor = [UIColor blackColor]; self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; UIViewController *rootViewController = [UIViewController new];