Software Archive
Read-only legacy content
17060 Discussions

Ios9 causes app to shrink on screen

Nick_F_2
New Contributor III
2,261 Views

Since installing ios9 a number of my apps only fill about 80% of the screen there is a large black margin at the top and bottom.

Even scrolling does not move the app into these margins.

0 Kudos
18 Replies
Amrita_C_Intel
Employee
2,261 Views

Hello,

I can check this. Can you tell me which device are you using? iphone 4,5 or 6?

 

0 Kudos
Amrita_C_Intel
Employee
2,262 Views

Or try building with 5.1.1 Cordova CLI.

0 Kudos
Nick_F_2
New Contributor III
2,262 Views

iPhone 5s

0 Kudos
Nick_F_2
New Contributor III
2,262 Views

Where do I set the Cordova version.

Thanks

0 Kudos
Elroy_A_Intel
Employee
2,262 Views

You can set the Cordova version on the Projects Panel > Cordova Hybrid Mobile App Settings > Build Settings > <desired_mobile_platform> tab.

There should be a Cordova CLI Version field.

0 Kudos
Nick_F_2
New Contributor III
2,262 Views

Hi
I have now compiled with 5.1.1 Cordova CLI and it has not made any difference.

Applications are still compressed visually to the middle 80% of the screen.

0 Kudos
Nick_F_2
New Contributor III
2,262 Views

Hi Moritz

Thank you for confirm the other devices are OK. I only have an iPhone 5s /iOS9 to use.

To also confirm this issue occurs under UI Framework JQuery Mobile and App Framework (Apps that I have created).

0 Kudos
Nick_F_2
New Contributor III
2,262 Views

Another observation is that the iPhone status bar normally at the top of the screen is moved down roughly equivalent to the depth of a header and likewise the bottom is moved up equivalent to the depth of a footer.

I have attached a screen grab for reference. Sorry but blurred the contents for my piece of mind.

0 Kudos
PaulF_IntelCorp
Employee
2,262 Views

It sounds like this might be due to the size of the launch screens, as weird as that sounds. If that is correct, my suspicion is the launch screen is being used to determine the size of the webview window when initialized. Not sure if this is an iOS 9 or a Cordova issue.

See these posts:

0 Kudos
Nick_F_2
New Contributor III
2,262 Views

Hi Paul

Thanks for the info, but I'm stuck on how to fix this. My splash screens are set as per XDK for all Portrait resolutions. What does make sense is that according to Moritz, this does not occur on the iPhone 6 with iOS9.

How do you change the launch screens if the images are set within XDK

 

0 Kudos
Amrita_C_Intel
Employee
2,262 Views

Hello Nick,

I would suggest you going through this article- https://software.intel.com/en-us/xdk/articles/android-splash-screens-using-nine-patch-png

which might be helpful

0 Kudos
PaulF_IntelCorp
Employee
2,262 Views

Nick, I've asked some of our iOS experts to take a closer look at this problem, it's not obvious what the solution is at this time.

0 Kudos
Nick_F_2
New Contributor III
2,262 Views

Any news on this please.

I have a demo of a new app to show a client on Monday and it won't look good in its current state.

0 Kudos
PaulF_IntelCorp
Employee
2,262 Views

No news, we don't understand what is causing this problem at this time.

0 Kudos
Nick_F_2
New Contributor III
2,262 Views

Well not sure what the issue was, but recompiled both apps suffering the screen shrinkage and the problem is now fixed.

No code changes so assuming it was a Cordova issue.

0 Kudos
Ian_Ippolito
Beginner
2,262 Views

I am also running into this problem on iOS with the iPhone 5. It worked perfectly fine before the upgrade, but now has a black empty space on the top and bottom causing the entire screen to be shrunk about 20%.

Paul, have you figured out anything since this was posted last month?

 

0 Kudos
PaulF_IntelCorp
Employee
2,262 Views

See this forum thread, appears to be some useful info there: https://software.intel.com/en-us/forums/intel-xdk/topic/597945

0 Kudos
Ian_Ippolito
Beginner
2,262 Views

that is really helpful. Thanks Paul!

0 Kudos
Reply