Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13E4E17839 for ; Tue, 12 May 2015 00:49:01 +0000 (UTC) Received: (qmail 86604 invoked by uid 500); 12 May 2015 00:49:01 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 86586 invoked by uid 500); 12 May 2015 00:49:01 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 86449 invoked by uid 99); 12 May 2015 00:49:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2015 00:49:00 +0000 Date: Tue, 12 May 2015 00:49:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-8988) [splashscreen] iOS splash screen rotation incorrectly scales image MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-8988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539004#comment-14539004 ] ASF GitHub Bot commented on CB-8988: ------------------------------------ Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-splashscreen/pull/46 > [splashscreen] iOS splash screen rotation incorrectly scales image > ------------------------------------------------------------------ > > Key: CB-8988 > URL: https://issues.apache.org/jira/browse/CB-8988 > 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 loaded. > 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 (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org