Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9CE2CD54F for ; Fri, 30 Nov 2012 17:56:00 +0000 (UTC) Received: (qmail 78545 invoked by uid 500); 30 Nov 2012 17:55:59 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 78491 invoked by uid 500); 30 Nov 2012 17:55:59 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 78428 invoked by uid 500); 30 Nov 2012 17:55:59 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 78398 invoked by uid 99); 30 Nov 2012 17:55:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 17:55:59 +0000 Date: Fri, 30 Nov 2012 17:55:58 +0000 (UTC) From: "Brandon Tooke (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1263640370.45989.1354298159011.JavaMail.jiratomcat@arcas> In-Reply-To: <1947283035.45969.1354297919569.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CB-1958) Post-loading splash screen is not centered properly on 3.5inch iOS 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-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Tooke updated CB-1958: ------------------------------ Priority: Minor (was: Critical) > Post-loading splash screen is not centered properly on 3.5inch iOS > ------------------------------------------------------------------ > > Key: CB-1958 > URL: https://issues.apache.org/jira/browse/CB-1958 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.2.0 > Reporter: Brandon Tooke > Assignee: Shazron Abdullah > Priority: Minor > > When "AutoHideSplashScreen" is set to NO, the splash screen shifts up by 10px after the initial loading phase is complete and before the loading screen is hidden by the app because the height of the status bar is not being included in determining where the splash screen should be centered. > I have resolved this issue in my case by adding the following line (Line 697) to CDVViewController.m: > Line 695: } else { // not iPad > Line 696: orientedLaunchImageFile = launchImageFile; > Line 697: center.y += MIN(statusBarFrame.size.width, statusBarFrame.size.height) / 2; > Line 698: } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira