Software Archive
Read-only legacy content
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 讨论

Ios9 causes app to shrink on screen

Nick_F_2
新分销商 III
2,296 次查看

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 项奖励
18 回复数
Amrita_C_Intel
2,296 次查看

Hello,

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

 

0 项奖励
Amrita_C_Intel
2,297 次查看

Or try building with 5.1.1 Cordova CLI.

0 项奖励
Nick_F_2
新分销商 III
2,297 次查看

iPhone 5s

0 项奖励
Nick_F_2
新分销商 III
2,297 次查看

Where do I set the Cordova version.

Thanks

0 项奖励
Elroy_A_Intel
员工
2,297 次查看

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 项奖励
Nick_F_2
新分销商 III
2,297 次查看

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 项奖励
Nick_F_2
新分销商 III
2,297 次查看

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 项奖励
Nick_F_2
新分销商 III
2,297 次查看

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 项奖励
PaulF_IntelCorp
2,297 次查看

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 项奖励
Nick_F_2
新分销商 III
2,297 次查看

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 项奖励
Amrita_C_Intel
2,297 次查看

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 项奖励
PaulF_IntelCorp
2,297 次查看

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 项奖励
Nick_F_2
新分销商 III
2,297 次查看

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 项奖励
PaulF_IntelCorp
2,297 次查看

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

0 项奖励
Nick_F_2
新分销商 III
2,297 次查看

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 项奖励
Ian_Ippolito
初学者
2,297 次查看

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 项奖励
PaulF_IntelCorp
2,297 次查看

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

0 项奖励
Ian_Ippolito
初学者
2,297 次查看

that is really helpful. Thanks Paul!

0 项奖励
回复