Anyone with an iPad Pro been able to get AIR to run on it with the native resolution (i.e. not upscaling iPad retina resolution)? The new 167x167 icon size seems to be supported in AIR 20 but the iPad Pro simulator isn't working with AIR yet so I can't test until I get a physical device.
iPad Pro Support
(25 posts) (10 voices)-
Posted 3 years ago #
-
+1, i'll like to know! i don t have an ipad pro to test out!
Posted 3 years ago # -
Oh, so Air 20 has included support for 167icons! Very nice. But yeah, there's a problem with simulator. If this the same bug you're experiencing as me here https://bugbase.adobe.com/index.cfm?event=bug&id=4086861 , please add your vote.
Posted 3 years ago # -
Device simulation using the iOS Simulator describes how to customize which device AIR asks the iOS Simulator to open on launch.
Posted 3 years ago # -
The simulator works fine using the instructions Josh posted, however I don't think Air has been updated yet to include support for opening up the iPad Pro simulator.
This thread describes the values to use for the simulator. I would expect the simulator value to be "iPad Pro" but it throws an error. Is there a different simulator value we should be using?
Posted 3 years ago # -
Had to install Air 20 to test out if it compiles to Simulator. Yes, it does. And didn't have to copy ld64 from Xcode. Adobe is making a good job out there
It seems the support for iPad Pro is now required as image167x167 must be packaged.
Posted 3 years ago # -
What did you use for the simulator value? Also what did you name the iPad Pro splash screen image?
Posted 3 years ago # -
@flashisland, "iPad Pro" is indeed not supported. For splash screen I use 1 high res image that is automatically scaled inside viewport.
E.g.
... background = new BackgroundAll(); background.x = 0; background.y = 0; background.smoothing = true; startUp( stage.fullScreenWidth , stage.fullScreenHeight ); updateViewport( stage.fullScreenWidth , stage.fullScreenHeight ); addChild( background ); .... private function updateViewport ( $width :Number , $height :Number ) :void { // Resize the Starling viewport with the new width and height Starling.current.viewPort = new Rectangle( 0 , 0 , $width , $height ); background.width = $width; background.height = $height; if ( !Starling.current && !Starling.current.stage ) return; // Get the scale based on the biggest percentage between the new width and the base width or the new height and the base height var scale :Number = Math.max( ( $width / Constants.STAGE_WIDTH ) , ( $height / Constants.STAGE_HEIGHT ) ); // Resize the starling stage based on the new width and height divided by the scale Starling.current.stage.stageWidth = ( $width / scale ); Starling.current.stage.stageHeight = ( $height / scale ); }
Posted 3 years ago # -
Sorry I meant launch image, not splash screen. I can't find the naming scheme for the iPad Pro launch image, to signal the app to run in the new iPad Pro resolution.
Posted 3 years ago # -
They haven't updated that yet http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d129907d2886-8000.html . However that'd be really strange omission to update the icon for iPad Pro and not to add new splash screen.
Following Default-Portrait@2x~ipad.png maybe we should try naming Default-Portrait@3x~ipad.png for iPad Pro
Posted 3 years ago # -
Reply from Adobe Air Team:
Hi
Launch Images for iPad Pro need the same naming convention as was required by other iPads. for example -
Default-Landscape@2x~ipad (for landscape mode). Similarly for other modes.
Please make sure you use the required resolution for iPad Pro (i.e 2048x2072)
the same launch image would be used for all iPad launch Images.Regards
Adobe Air TeamPosted 3 years ago # -
So are they saying that there is no new launch image required, just make it the 2048x2732 size and it will work correctly?
Posted 3 years ago # -
@skol iPad Pro resolution is 2732 x 2048
Posted 3 years ago # -
Just got an iPad Pro and can confirm that the latest Air 20 beta supports the new resolution! You just need to resize your iPad @2x launch images to be 2732 x 2048 and it will use the new larger resolution.
Posted 3 years ago # -
@Aymeric , thanks! I should remind about the fact to the Adobe Air team over their forums
@flashisland , have you only resized the launch image without changing its name to @3x~ipad ?
Posted 3 years ago # -
@skol Nope, just resized the launch image and didn't change the name. The iPad Pro is supposed to be @2x anyway (https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html).
Posted 3 years ago # -
Another update, it looks like there is a bug in Air where retina iPads running iOS 9 will not show the launch image if it is not the correct resolution (2048 x 1536). So including a larger launch image will work on the iPad Pro and iPads running iOS 8 and below, but not on iOS 9 (it will show a black screen while loading).
Posted 3 years ago # -
Same issue here.
Posted 3 years ago # -
Hi all,
I am playing with ipad Pro, and I am not getting the resolution I expected.
Here is my configuation:Ipad Pro with iOS 9
Launch image (2732 x 2048) in portrait mode Merged as "Default-Landscape@2x~ipad.png"
AIR SDK 20 betaNo problems on compile and upload on ipad. Launch image loads when I launch the application BUT I request for the resolution using stage.fullScreenWidth and stage.fullScreenHeight and i get back 2048 x 1536 instead of 2732 x 2048. Anybody else has come with this trouble?
Maybe I am doing something wrong. Advises will be really appreciated.
Posted 3 years ago # -
This seems to be a bug with Air right now. You need to name your launch image "Default-Landscape@2x.png" to get the correct resolution. There is another bug then where retina iPads running iOS 9 will no longer display a launch image, however you'll be able to get the correct resolution on all devices.
Posted 3 years ago # -
@flashisland thank you! Now everything seems to work correctly.
Posted 3 years ago # -
As OP asks, has anyone been able to get AIR to run at 2732x2048 on iPad Pro 12.9" ?
It just runs an upscaled version of 2048 on my apps, which is not optimal at all.
Posted 2 years ago # -
Finally i understood this thing. The launch image resolution defines the app resolution.
Posted 2 years ago # -
I'll just add that in order to avoid problems on retina iPads running iOS 10 and to support iPad Pro you should package the following images:
Default-Landscape@2x.png : 2732 x 2048
Default-Landscape~ipad.png : 1024 x 768
Default-LandscapeLeft@2x~ipad.png : 2048 x 1536
Default-LandscapeRight@2x~ipad.png : 2048 x 1536
Default-LandscapeLeft~ipad.png : 1024 x 768
Default-LandscapeRight~ipad.png : 1024 x 768The
~ipad
suffix is important. The last two images may not be needed, though theDefault-Landscape~ipad.png
(non-retina image) is a must according to our tests.Posted 2 years ago # -
in order to avoid problems on retina iPads running iOS 10 and to support iPad Pro you should package the following images:
Default-Landscape@2x.png : 2732 x 2048
Default-Landscape~ipad.png : 1024 x 768
Default-LandscapeLeft@2x~ipad.png : 2048 x 1536
Default-LandscapeRight@2x~ipad.png : 2048 x 1536
Default-LandscapeLeft~ipad.png : 1024 x 768
Default-LandscapeRight~ipad.png : 1024 x 768Thank you for clearing things up a bit.
So according to this the "Default-Landscape@2x~ipad.png" file is not needed despite Adobe mentioning this specific file?I guess not including that file but including the "LandscapeLeft@2x~ipad" and "LandscapeRight@2x~ipad" files instead (plus the "Landscape@2x" with no "~ipad" but at iPad Pro resolution) is kind of a trick to make it work in all of the iPads, is it?
Thanks for saving us from this trial and error process!
Posted 1 year ago #
Reply
You must log in to post.