From 3dbeaa461fc01f88c70441badd470fc13d12e700 Mon Sep 17 00:00:00 2001 From: Michael Rebello Date: Thu, 27 Jun 2019 15:52:41 -0700 Subject: [PATCH] ios: add launch screens to fix sizing (#204) Without these, the iOS demos only display on a small subset of the device's screen. Testing: Locally |Before|After| |-|-| |![Simulator Screen Shot - TestDevice - 2019-06-27 at 15 24 16](https://user-images.githubusercontent.com/2643476/60304895-a2f3c080-98ef-11e9-8274-19a352084db7.png)|![Simulator Screen Shot - TestDevice - 2019-06-27 at 15 16 24](https://user-images.githubusercontent.com/2643476/60304910-abe49200-98ef-11e9-8cb3-a20c6ad9daeb.png)| Signed-off-by: Michael Rebello Signed-off-by: JP Simard --- .../Base.lproj/LaunchScreen.storyboard | 25 +++++++++++++++++++ .../objective-c/hello_world/Info.plist | 2 ++ .../Base.lproj/LaunchScreen.storyboard | 25 +++++++++++++++++++ mobile/examples/swift/hello_world/Info.plist | 2 ++ 4 files changed, 54 insertions(+) create mode 100644 mobile/examples/objective-c/hello_world/Base.lproj/LaunchScreen.storyboard create mode 100644 mobile/examples/swift/hello_world/Base.lproj/LaunchScreen.storyboard diff --git a/mobile/examples/objective-c/hello_world/Base.lproj/LaunchScreen.storyboard b/mobile/examples/objective-c/hello_world/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 000000000000..bfa36129419f --- /dev/null +++ b/mobile/examples/objective-c/hello_world/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mobile/examples/objective-c/hello_world/Info.plist b/mobile/examples/objective-c/hello_world/Info.plist index 7cdd4200dec6..83af5464ce7e 100644 --- a/mobile/examples/objective-c/hello_world/Info.plist +++ b/mobile/examples/objective-c/hello_world/Info.plist @@ -41,5 +41,7 @@ UIStatusBarStyle UIStatusBarStyleLightContent + UILaunchStoryboardName + LaunchScreen diff --git a/mobile/examples/swift/hello_world/Base.lproj/LaunchScreen.storyboard b/mobile/examples/swift/hello_world/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 000000000000..bfa36129419f --- /dev/null +++ b/mobile/examples/swift/hello_world/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mobile/examples/swift/hello_world/Info.plist b/mobile/examples/swift/hello_world/Info.plist index 7cdd4200dec6..83af5464ce7e 100644 --- a/mobile/examples/swift/hello_world/Info.plist +++ b/mobile/examples/swift/hello_world/Info.plist @@ -41,5 +41,7 @@ UIStatusBarStyle UIStatusBarStyleLightContent + UILaunchStoryboardName + LaunchScreen