Skip to main content
qczs88
Participant
May 6, 2019
Question

fullScreen in ios sdk 12.2

  • May 6, 2019
  • 2 replies
  • 1017 views

Hello,

I have tried Air SDK 32.0.0.116 and ios sdk 12.2.When i run the app in ios which shows the content total wrong.neither is fullScreen nor landscape.

The app workes OK while I am using the Air SDK 32.0.0.116 and ios sdk 12.1 on iphone6.

Thank you for your help.

This topic has been closed for replies.

2 replies

Flipline
Inspiring
May 7, 2019

Do you mean you're using the iOS SDK 12.2 using -platformSDK with adt, instead of using the built-in iOS SDK 12.1 with that version of AIR?  If you are, when you check the app ipa's Info.plist does it show that it did in fact correctly use the 12.2 SDK (listed under DTPlatformVersion or DTSDKName) instead of the usual 12.1?  It might also be worth looking through that Info.plist to see if there are any clues there as to why it's not looking correct (like checking UISupportedInterfaceOrientations to see what's listed), and try switching back and forth between using -platformSDK or not to see if it's generating those values differently based on which iOS SDK you're using.

Also for true fullscreen on an iPhone 6 you would at least need to include this launch image too:

Default-375w-667h@2x~iphone.png

qczs88
qczs88Author
Participant
May 7, 2019

Hi Flipine,

I have just checked DTPlatformVersion and DTSDKName.Both are setted to 12.2.

Also add Default-375w-667h@2x~iphone.png in my app.

But still it didn't work.

Flipline
Inspiring
May 7, 2019

Is this the exact same project, and when you use -platformSDK with adt to switch to 12.2 it doesn't look correct, but when you leave that out and compile again with adt using 12.1 it does look correct?

I'm not sure why 12.2 would be acting so differently for you, but could you check Info.plist for the 12.2 version, and check what these keys are set to:  CTAspectRatio, UIInterfaceOrientation, UISupportedInterfaceOrientations, UIStatusBarHidden

Those should be the main keys that deal with orientation and fullscreen on iOS.  And maybe compare with what those keys end up being with a version built with 12.1 SDK, just to see if there's some kind of bug with AIR using 12.2.

Lars Laborious
Legend
May 6, 2019

Hi,

AIR 32.0.0.116 and iOS 12.2 works fine on my iPhone 6 plus. I use Animate to compile.

How do you compile and set fullscreen?

qczs88
qczs88Author
Participant
May 6, 2019

Hi,

Thanks for reply.

I have been using adt to make package.

And here is my description xml

<initialWindow>

  <content>3war.swf</content>

        <aspectRatio>landscape</aspectRatio>

        <autoOrients>false</autoOrients>

        <fullScreen>true</fullScreen>

        <visible>true</visible>

    </initialWindow>

Also add Default-568h@2x~iphone.png for launch image.

Did i miss something?

Lars Laborious
Legend
May 6, 2019

Hard to say. I also use <requestedDisplayResolution>high</requestedDisplayResolution> and set autoOrients to true.

Do you also add iPad launch images? (Since apple now requires us to target both iPhones and iPads.)