iPhone X full screen

I’m updating a few of my games to use the fullscreen of the iPhone X (including notch area).  Right now it looks like

I work on PhoneGap in my day job, and all we had to do was provide a launch image called Default@2x~universal~anyany.png with the size of 2732x2732 and it started using the fullscreen (much like the old Default-568h.png for the iPhone 5).

Here’s what I want it to look like.

Actually, I’ll need to tweak a few buttons, but that’s the gist.  I’m using

scale = “zoomStretch”

in my config.lua (cuz I’m lazy and it works fine for this games layout).

Is there a good example/template I can follow for Corona?  I’ve switched to the Images.xcassets method of providing launch and icon images (using ShapeTumbler as an example – cuz it had tvOS as well).

Thanks,

Doug

Ah, I just discovered the 

UILaunchStoryboardName = “LaunchScreen”,

settings.  That seems to do the trick.

Well , How many people like me are not used to the full screen mode of iPhone X, after i switch my Android to iPhone X , i miss the home button very much ,

I think the game lover will like the full screen very much.

Ah, I just discovered the 

UILaunchStoryboardName = “LaunchScreen”,

settings.  That seems to do the trick.

You can go back .

Well , How many people like me are not used to the full screen mode of iPhone X, after i switch my Android to iPhone X , i miss the home button very much ,

I think the game lover will like the full screen very much.

I’m trying to get my app to run full-screen on iPhoneX. Can I just add the UILaunchStoryboardName = “LaunchScreen” line or do I actually need to create a Storyboard? Right now I’m using the splashScreen = {} table in build.settings. I’m also wondering how this interacts with the [“plugin.CoronaSplashControl”] I bought to remove the Corona splash screen.

iOS LaunchScreens have absolutely nothing to do with splash screens. On iOS the LaunchScreen shows **before** your app runs. The Corona Splash Screen is shown after the Corona made app is running. They are totally unrelated.

If you want to support screens other than 640x960 in shape, you must include the UILaunchStoryboardName = “LaunchScreen” in the settings.iphone.plist table in build.settings. You must also have a LaunchScreen.storyboardc object in your folder with main.lua.  You can follow the instructions here: http://docs.coronalabs.com/guide/distribution/launchFile/index.html if you want a custom launch screen. Or you can simply copy the LaunchScreen.storyboardc folder from one of our sample projects (or do a File->New Project and copy it from there) if you want a simple all black LaunchScreen (which is okay in most cases).

Rob

Thanks for the clarification Rob - 

I’m endeavoring to get my application to run full-screen on iPhoneX. Can I simply include the UILaunchStoryboardName = “LaunchScreen” line or do I really need to ios version make a Storyboard? At the present time I’m utilizing the splashScreen = {} table in build.settings. I’m likewise thinking about how this cooperates with the [“plugin.CoronaSplashControl”] I purchased to evacuate the Corona sprinkle screen.

If you are okay with a black UI Launch screen (which is okay in most cases), simply copy the LaunchScreen.storyboardc file from any of our sample projects in the Corona/SampleCode/ folder.

Optionally, if you create a new project from the Corona Welcome Window, the LaunchScreen.storyboardc file should be created for you. 

Rob

You can go back .

I’m trying to get my app to run full-screen on iPhoneX. Can I just add the UILaunchStoryboardName = “LaunchScreen” line or do I actually need to create a Storyboard? Right now I’m using the splashScreen = {} table in build.settings. I’m also wondering how this interacts with the [“plugin.CoronaSplashControl”] I bought to remove the Corona splash screen.

iOS LaunchScreens have absolutely nothing to do with splash screens. On iOS the LaunchScreen shows **before** your app runs. The Corona Splash Screen is shown after the Corona made app is running. They are totally unrelated.

If you want to support screens other than 640x960 in shape, you must include the UILaunchStoryboardName = “LaunchScreen” in the settings.iphone.plist table in build.settings. You must also have a LaunchScreen.storyboardc object in your folder with main.lua.  You can follow the instructions here: http://docs.coronalabs.com/guide/distribution/launchFile/index.html if you want a custom launch screen. Or you can simply copy the LaunchScreen.storyboardc folder from one of our sample projects (or do a File->New Project and copy it from there) if you want a simple all black LaunchScreen (which is okay in most cases).

Rob

Thanks for the clarification Rob - 

I’m endeavoring to get my application to run full-screen on iPhoneX. Can I simply include the UILaunchStoryboardName = “LaunchScreen” line or do I really need to ios version make a Storyboard? At the present time I’m utilizing the splashScreen = {} table in build.settings. I’m likewise thinking about how this cooperates with the [“plugin.CoronaSplashControl”] I purchased to evacuate the Corona sprinkle screen.

If you are okay with a black UI Launch screen (which is okay in most cases), simply copy the LaunchScreen.storyboardc file from any of our sample projects in the Corona/SampleCode/ folder.

Optionally, if you create a new project from the Corona Welcome Window, the LaunchScreen.storyboardc file should be created for you. 

Rob