Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 094B790BB for ; Thu, 19 Apr 2012 15:25:05 +0000 (UTC) Received: (qmail 28457 invoked by uid 500); 19 Apr 2012 15:25:04 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 28435 invoked by uid 500); 19 Apr 2012 15:25:04 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 28424 invoked by uid 99); 19 Apr 2012 15:25:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 15:25:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 15:25:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DFAB83A38C9 for ; Thu, 19 Apr 2012 15:24:39 +0000 (UTC) Date: Thu, 19 Apr 2012 15:24:39 +0000 (UTC) From: "Tom Clarkson (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1229325962.6317.1334849079917.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <67078395.1493.1329708941958.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-263) PhoneGap Splash screen is incorrectly positioned MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257541#comment-13257541 ] Tom Clarkson commented on CB-263: --------------------------------- The issue is that the iOS instance of the 1024x748 image is placed wherever the status bar isn't, while the Cordova instance has a fixed position. I have uploaded a fix: https://github.com/apache/incubator-cordova-ios/pull/14 Also a variation of the same fix that works on top of the existing library code: http://tqcblog.com/2012/04/20/fixing-the-phonegap-cordova-splash-screen/ > PhoneGap Splash screen is incorrectly positioned > ------------------------------------------------ > > Key: CB-263 > URL: https://issues.apache.org/jira/browse/CB-263 > Project: Apache Callback > Issue Type: Bug > Components: iOS > Affects Versions: 1.4.0 > Environment: Xcode 4.2, PhoneGap 1.4.1 > Reporter: Alex Talis > Assignee: Shazron Abdullah > Priority: Minor > Fix For: 1.7.0 > > > The splash screen image view is offset up by a distance that appears to be equal to the height of the status bar. As a result, user can see portion of the white web view at the bottom of the screen. The perceived effect is that the launch image briefly jumps up just before the web view is revealed. > To reproduce, set up a project like this: > * Create new PhoneGap 1.4.1 iOS project. > * Add info plist entry with key "Launch image (iPad)" and value "iPad". > * Add iPad-Landscape.png and iPad-Portrait.png to project's Resources group. I used solid red images (for contrast) of standard size (768x1004 and 1024x748). > Run the project in iOS 5 simulator or an iOS 5 iPad to see the splash jump up. > The problem seems to be that [PGViewController showSplashScreen] does not account for status bar when it sizes and positions the image view. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira