[
https://issues.apache.org/jira/browse/CB-9240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14626479#comment-14626479
]
Scott Shannon edited comment on CB-9240 at 7/15/15 2:37 AM:
------------------------------------------------------------
Hello Hetal, I am pretty sure I am seeing the same problem as you and it only
happens iPads running iOS 8.1.x and 8.2.x. I'm using Cordova 3.7.0 and I'm
using the latest github version of the splash screen plugin (version 2.1.0).
(Tested on iPad Air, iPad Retina, and iPad 2 Simulators)
iPad Test: Open in Landscape mode and ensure the splash screen appears and
disappears and app stays in landscape mode.
iOS 7.1 OK
iOS 8.1 FAIL (Confirmed on iPad Air 8.1.3 device)
iOS 8.2 FAIL
iOS 8.3 OK
iOS 8.4 OK
FAIL = open the app in landscape see the landscape launch-image ok, then screen
autorotates to portrait distorting the launch-image and shrinking the view,
leaving a blank (black space to the right side). Basically, the landscape view
is forced in portrait mode (rotated left) and the app stays open in the wrong
orientation (portrait) while the device is in landscape. If the user manually
rotates the device into portrait the view controller clears the condition and
future rotates are correct. It's just the initial launch that gets out of whack.
I'm debugging trying to find out why this happening, I'm curious if anyone else
can replicate this.
was (Author: [email protected]):
Hello Hetal, I am pretty sure I am seeing the same problem as you and it only
happens iPads running iOS 8.1.x and 8.2.x. I'm using Cordova 3.7.0 and I'm
using the latest github version of the splash screen plugin (version 2.1.0).
(Tested on iPad Air, iPad Retina, and iPad 2 Simulators)
iPad Test: Open in Landscape mode and ensure the splash screen appears and
disappears and app stays in landscape mode.
iOS 7.1 OK
iOS 8.1 FAIL (Confirmed on iPad Air 8.1.3 device)
iOS 8.2 FAIL (Confirmed on iPad Air 8.1.3 device)
iOS 8.3 OK
iOS 8.4 OK
FAIL = open the app in landscape see the landscape launch-image ok, then screen
autorotates to portrait distorting the launch-image and shrinking the view,
leaving a blank (black space to the right side). Basically, the landscape view
is forced in portrait mode (rotated left) and the app stays open in the wrong
orientation (portrait) while the device is in landscape. If the user manually
rotates the device into portrait the view controller clears the condition and
future rotates are correct. It's just the initial launch that gets out of whack.
I'm debugging trying to find out why this happening, I'm curious is anyone else
can replicate this.
> Cordova splash screen plugin iPad landscape mode issue
> ------------------------------------------------------
>
> Key: CB-9240
> URL: https://issues.apache.org/jira/browse/CB-9240
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin SplashScreen
> Environment: iPad iOS 8
> Reporter: Hetal
> Labels: ios, landscape, plugin, splashscreen
>
> I am using the Cordova splash screen plugin
> (https://github.com/apache/cordova-plugin-splashscreen) in my hybrid mobile
> app targeted for iOS. I have all the splash screen images added to my
> project. The reason for using this plugin is to elongate the time for which
> the splash screen is shown and I manually hide it later in the app. So my
> config.xml has the following declarations:
> <preference name="AutoHideSplashScreen" value="false" />
> <preference name="ShowSplashScreenSpinner" value="false"/>
> This plugin works fine in the portrait mode on iPhone and iPad. But on the
> iPad in landscape mode, the plugin shows the splash image in portrait mode
> and consequently my first app view also shows in the portrait mode even
> though the device is in landscape mode.
> The screenshots are available here:
> http://stackoverflow.com/questions/31035650/cordova-splash-screen-plugin-ipad-landscape-mode-issue
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]