GitHub user dpolivy opened a pull request:

    https://github.com/apache/cordova-plugin-splashscreen/pull/46

    CB-8988: Fix rotation on iOS/iPad

    The viewController.interfaceOrientation passed to getImageName has not
    yet been updated with the new orientation, even when the frame/bounds
    change event has fired. Thus, the plugin never actually loads the
    correct image for the new orientation. Instead, it poorly scales the
    existing image.
    
    This fix uses the statusBarOrientation property of the UIApplication
    object to detect the actual orientation, and correctly load the right
    image.
    
    Fixes https://issues.apache.org/jira/browse/CB-8988

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dpolivy/cordova-plugin-splashscreen CB8988

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-splashscreen/pull/46.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #46
    
----
commit 4df490b4d935ffd43904dda1726a790372c64d92
Author: Dan Polivy <d...@cellartracker.com>
Date:   2015-05-07T23:37:02Z

    CB-8988: Fix rotation on iOS/iPad
    
    The viewController.interfaceOrientation passed to getImageName has not
    yet been updated with the new orientation, even when the frame/bounds
    change event has fired. Thus, the plugin never actually loads the
    correct image for the new orientation. Instead, it poorly scales the
    existing image.
    
    This fix uses the statusBarOrientation property of the UIApplication
    object to detect the actual orientation, and correctly load the right
    image.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to