cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shakhnazarov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12143) Splash Screen on Ipad has wrong orientation and image
Date Wed, 30 Nov 2016 14:35:59 GMT

    [ https://issues.apache.org/jira/browse/CB-12143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15708748#comment-15708748
] 

Sergey Shakhnazarov commented on CB-12143:
------------------------------------------

[~svante.jacobsen@21st.se], thanks for the details!

Could you try to use only launch images for full-screen (i.e. without statusbar subtracted,
f.e. 768x1024 instead of 768x1004) and check that "Status bar is initially hidden" is YES
in the plist file?

It seems that cordova-ios currently does not support non-full-screen ones:
[1|https://github.com/apache/cordova-ios/blob/92a62997adb3c8512328d5a0ae42fe5d156291f1/bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Contents.json#L126-L131],
[2|https://github.com/apache/cordova-ios/blob/b8ae88d822135a149ff1ea7b6e5feb045a2220eb/bin/templates/scripts/cordova/lib/prepare.js#L385-L396].


> Splash Screen on Ipad has wrong orientation and image
> -----------------------------------------------------
>
>                 Key: CB-12143
>                 URL: https://issues.apache.org/jira/browse/CB-12143
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>         Environment: iOS
>            Reporter: Svante Jacobsen
>              Labels: ios, no-repro, triaged
>         Attachments: ipad-pgb.png, sctest.zip
>
>
> The splash screen on Ipad is not working. When app is started and splash screen is supposed
to show, the screen is first rotated and then showing a splash screen for landscape orientation
when holding device in portrait orientation. Also, the splash image shown is the Cordova default,
not my design.
> Using Phonegap Build cli-6.3.0 (4.2.0 / 5.2.1 / 4.4.1) and cordova-plugin-splashscreen
4.0.0.
> Android and Iphone 4, 5, 6 all work. The only issue is with Ipad (eg. model A1474 and
A1416).
> Affected app (#693828) has setting to force portrait orientation:
> <preference name="orientation" value="portrait" />
> <gap:plugin name="cordova-plugin-splashscreen" source="npm" />
> I have tried to include more splash screen images and resolutions and even landscape
ones but they all seems to be overridden by this problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message