cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Khandelwal (JIRA)" <>
Subject [jira] [Resolved] (CB-8988) [splashscreen] iOS splash screen rotation incorrectly scales image
Date Mon, 18 May 2015 22:28:00 GMT


Nikhil Khandelwal resolved CB-8988.
    Resolution: Fixed

This issue has been resolved.

> [splashscreen] iOS splash screen rotation incorrectly scales image
> ------------------------------------------------------------------
>                 Key: CB-8988
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>         Environment: iOS
>            Reporter: Dan Polivy
> On iOS devices, if rotation occurs while the splash screen is visible, it ends up horribly/incorrectly
scaling the existing image, instead of loading the correctly oriented image.
> This happens on both iPad and iPhone -- although technically iPhone should not allow
rotation at all. (I see there is another issue tracking that for iPhone.)
> From debugging, the issue appears to be that the interfaceOrientation of the viewController
has not been updated at the time that the frame/bounds changes are observed by the plugin.
Thus, even though the frame/bounds change, the correct image for the new orientation is never
> I will provide a PR with an alternate fix shortly. I found it worked better to use [[UIApplication
sharedApplication] statusBarOrientation] to determine orientation.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message