You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Max Stemplinger (JIRA)" <ji...@apache.org> on 2014/02/11 21:46:20 UTC

[jira] [Commented] (CB-4051) Splashscreen rotation problem

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

Max Stemplinger commented on CB-4051:
-------------------------------------

I think this pull request adds a new bug. I have an iPhone only app with orientation lock for only portrait. My launch images have all the name Default~iphone.png, Default-568h@2x~iphone.png, Default@2x~iphone.png as it is suggested by apple and the cordova doc (iPhone Apps can only be started in Portrait, so no need for -landscape or -portrait). When the orientation is locked, this pull requests adds the line
{code}
} else if (CDV_IsIPad() || isOrientationLocked) {
{code}
which then appends the filename with "-Portrait" in my case. Now the plugin can't find the image, because the names are different. The "-Portrait" and "-Landscape" should only be appended when the device is an iPad. So i think this has to be reopened, or am i doing something wrong?


> Splashscreen rotation problem
> -----------------------------
>
>                 Key: CB-4051
>                 URL: https://issues.apache.org/jira/browse/CB-4051
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.7.0
>            Reporter: Estelle
>            Assignee: Shazron Abdullah
>
> On Cordova 2.7
> I have made an application iPhone with Cordova, my application is only on landscape mode. I have added splashscreens on the app and seen a bug.
> When I launch app, I see correctly the good splashscreen but after view seconds the splashscreen rotate on 90°
> I think it's a bug because all params in XML, Xcode and plist are in landscape mode.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)