Chris Easton
Posts: 0
Joined: Wed May 01, 2013 2:51 pm

iPad app fails to open in landscape mode

Our iPad application opens in portrait and landscape modes in the test environment. Once deployed to the iPad device it only opens in portrait orientation. Opening in Landscape just flashes the default UILaunchImageFile .png and closes. Once the application has been opened in portrait orientation rotating to landscape works without issue. iOS key UISupportedInterfaceOrientations is set for all 4 orientations. UIInterfaceOrientation is set for UIInterfaceOrientationLandscapeLeft. Is this a known issue? Are we missing something?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

iPad app fails to open in landscape mode

Hi Chris,

Did you change source files? Are there any errors in Weinre? http://devcenter.appery.io/documentat...

Chris Easton
Posts: 0
Joined: Wed May 01, 2013 2:51 pm

iPad app fails to open in landscape mode

Tried to debug using Safari developers tools with the iPad plugged into the Macbook - no console errors. I have changed the start page to a simple test page - same issue. I enabled Weinre and it responds perfectly when the app is opened in portrait but does not show a "target" or any response if the app is opened in landscape - it is almost as though it fails to get to Weinre before it fails at the Loading... message

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

iPad app fails to open in landscape mode

Hi Chris,

What is your device OS version?
Please share your application with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a.
What is the app name?

Chris Easton
Posts: 0
Joined: Wed May 01, 2013 2:51 pm

iPad app fails to open in landscape mode

iOS 7.1.1 mobileSales

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

iPad app fails to open in landscape mode

Hi Chris,

Reproduced the issue. We'll need to test it deeper.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

iPad app fails to open in landscape mode

Hello!

Please open App Settings--iOS keys--UIDeviceFamily and using Ctrl key select both (1 and 2), export app and try again.

Please let us know result.

Chris Easton
Posts: 0
Joined: Wed May 01, 2013 2:51 pm

iPad app fails to open in landscape mode

Hi Maryna,
Same result - app crashes in Landscape OK in Portrait

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

iPad app fails to open in landscape mode

Hello!

It is a bug, we are sorry for inconvenience.
Looks like the problem is in UIStatusBarHidden property in iOS keys tab. Please set UIStatusBarHidden to YES and try again.

Let us know if it worked for you.

Chris Easton
Posts: 0
Joined: Wed May 01, 2013 2:51 pm

iPad app fails to open in landscape mode

Hi Maryna,
Setting UIStatusBarHidden to yes solved the issue. We can live without the status bar for now. when do you expect a fix?

Return to “Issues”