iPad Pro Resolution Supported?

Is the native resolution for the iPad pro 12.9 supported? or does it scale to the iPad retina size?

The only way to enable the full resolution is to put a loading screen as a storyboard, does Corona do that and is it possible to do without using enterprise?

If you don’t put a loading screen as a storyboard you only get iPad retina size.

This seems like multiple questions in one post…

First part…
 

Is the native resolution for the iPad pro 12.9 supported? or does it scale to the iPad retina size?

 
Corona (Free) supports pretty much any resolution so, “Yes,” iPad Pro(s) are supported in all their many resolutions/sizes.

 
This next  part I did not understand:

The only way to enable the full resolution is to put a loading screen as a storyboard, does Corona do that and is it possible to do without using enterprise?

 

If you don’t put a loading screen as a storyboard you only get iPad retina size.

If you build an iPad app in Xcode to support the 2732x2048 resolution you need to add a storyboard file (lauchscreen.storyboard for example) as the default loading screen, if you don’t the resolution defaults to 2048x1536 (this is like having to include the default png file to enable the iPhone 5 resolution from iPhone 4).

If you build for 2732x2048 the image will get scaled down by the iPad if that storyboard file is not included and set to be the default loading screen.

https://forums.developer.apple.com/thread/17193

So I think the answer is no Corona does not support the iPad Pro 12.9 Resolution because without that storyboard as a launch screen it will never be in the native resolution.

  1. Provide a sample project demonstrating the problem.  config.lua, main.lua, build.settings, + other files you feel are needed.

  2. Link the project here so we can see what you’re doing and verify it for ourselves.

  3. Consider filing a bug (after #2) here: https://developer.coronalabs.com/content/bug-submission

However, I’d wait for at least some feedback on #2 before filing.

Note: The sample project doesn’t have to be complex and should in fact be as simple as possible.

I’m asking you to supply one so I don’t make assumptions about what you’re trying in your config.lua file and other files.

PS - Also, please verify this, but I think you’re saying you are testing by using an emulated device via xCode?

Forgive the use of the word emulated.  

I think they called a simulator in xCode, but really it is emulating the hardware, so…  :wacko:

Can you test build this project and install it on your device?

https://github.com/roaminggamer/RG_FreeStuff/tree/master/AskEd/2015/10/lgg4

Should look like this (excluding change in aspect ratio):

lgg4.png

Assuming that works, you can then play with the config.lua settings to suit your needs.

Any luck on that?

I haven’t tried it, but I think you are missing the point, no matter how much you change the config, you will not get the iPad Pro 12.9 to display in 2732x2048 without creating a storyboard file for the launch image, if you don’t have that in place the iPad Pro returns a screen size of a normal iPad. using colored squares won’t show anything, try using a image of 2732x2048 with thin white text on a black background, you will see the text distorted as the image gets scaled to fit the size of the device.

Oh just to confirm I’m working on a device not a simulator.

This came about because I did something in native iOS and wanted to convert it over to corona.

And of course I can make it work if I’m using enterprise because I can insert that storyboard file into the project.

If this launch storyboard image is required, then you can create it and include it in your folder with your main.lua. We did a tutorial on this a ways back:

https://coronalabs.com/blog/2014/10/21/tutorial-building-multi-screen-launch-images-using-xcode-6/

Keep in mind, this was written in the days of Xcode 6, I’m sure the interface and prompts and such are different with Xcode 8, but with a little Google searching you should be able to adapt the concept to a modern Xcode. Then add a bit to your build.settings and you will be using Storyboard based launch images instead of the bazillion fixed sized PNG images and that big table in your build.settings.

Rob

Rob, that is probably the solution I am looking for, I’ll let you know, I must have missed that one!

I have a corporate client and their app is only for iPad Pro 12.9 so I needed the full resolution.

Thank you.

@cublah,

Hi.  We probably could have gotten here a lot sooner if you had done #1 and #2 below.

I want to help, but I don’t have the time to make sample projects every time someone like yourself asks for help in the forums.

If users who ask for help show us what they are doing in a real project, we can really dig in and examine it.  While what is said in the post may be ambiguous or misunderstood, seeing a actual example is usually pretty clear…

Still, I hope this is in fact resolved.  Good luck on the project.

This seems like multiple questions in one post…

First part…
 

Is the native resolution for the iPad pro 12.9 supported? or does it scale to the iPad retina size?

 
Corona (Free) supports pretty much any resolution so, “Yes,” iPad Pro(s) are supported in all their many resolutions/sizes.

 
This next  part I did not understand:

The only way to enable the full resolution is to put a loading screen as a storyboard, does Corona do that and is it possible to do without using enterprise?

 

If you don’t put a loading screen as a storyboard you only get iPad retina size.

If you build an iPad app in Xcode to support the 2732x2048 resolution you need to add a storyboard file (lauchscreen.storyboard for example) as the default loading screen, if you don’t the resolution defaults to 2048x1536 (this is like having to include the default png file to enable the iPhone 5 resolution from iPhone 4).

If you build for 2732x2048 the image will get scaled down by the iPad if that storyboard file is not included and set to be the default loading screen.

https://forums.developer.apple.com/thread/17193

So I think the answer is no Corona does not support the iPad Pro 12.9 Resolution because without that storyboard as a launch screen it will never be in the native resolution.

  1. Provide a sample project demonstrating the problem.  config.lua, main.lua, build.settings, + other files you feel are needed.

  2. Link the project here so we can see what you’re doing and verify it for ourselves.

  3. Consider filing a bug (after #2) here: https://developer.coronalabs.com/content/bug-submission

However, I’d wait for at least some feedback on #2 before filing.

Note: The sample project doesn’t have to be complex and should in fact be as simple as possible.

I’m asking you to supply one so I don’t make assumptions about what you’re trying in your config.lua file and other files.

PS - Also, please verify this, but I think you’re saying you are testing by using an emulated device via xCode?

Forgive the use of the word emulated.  

I think they called a simulator in xCode, but really it is emulating the hardware, so…  :wacko:

Can you test build this project and install it on your device?

https://github.com/roaminggamer/RG_FreeStuff/tree/master/AskEd/2015/10/lgg4

Should look like this (excluding change in aspect ratio):

lgg4.png

Assuming that works, you can then play with the config.lua settings to suit your needs.

Any luck on that?

I haven’t tried it, but I think you are missing the point, no matter how much you change the config, you will not get the iPad Pro 12.9 to display in 2732x2048 without creating a storyboard file for the launch image, if you don’t have that in place the iPad Pro returns a screen size of a normal iPad. using colored squares won’t show anything, try using a image of 2732x2048 with thin white text on a black background, you will see the text distorted as the image gets scaled to fit the size of the device.

Oh just to confirm I’m working on a device not a simulator.

This came about because I did something in native iOS and wanted to convert it over to corona.

And of course I can make it work if I’m using enterprise because I can insert that storyboard file into the project.