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 DEBD8108C7 for ; Wed, 11 Sep 2013 16:37:57 +0000 (UTC) Received: (qmail 36785 invoked by uid 500); 11 Sep 2013 16:37:57 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 36568 invoked by uid 500); 11 Sep 2013 16:37:57 -0000 Mailing-List: contact issues-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 issues@cordova.apache.org Received: (qmail 36308 invoked by uid 99); 11 Sep 2013 16:37:56 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2013 16:37:56 +0000 Date: Wed, 11 Sep 2013 16:37:56 +0000 (UTC) From: "Martin (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-4391) iOS 7: splash screen has a white bar at the bottom of the device screen 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-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13764462#comment-13764462 ] Martin edited comment on CB-4391 at 9/11/13 4:37 PM: ----------------------------------------------------- I fixed this issue by modifying CDVSplashScreen.m, in the updateBounds method. The line: imgBounds.origin.y -= statusFrame.size.height; Should not execute when we're on iOS7, as the status frame doesn't count towards offsetting the content of the splash screen. I fixed it by adding the macros from http://stackoverflow.com/a/7848772/54144 and wrapping the line above like so: if (SYSTEM_VERSION_LESS_THAN(@"7.0")) { imgBounds.origin.y -= statusFrame.size.height; } Hope that helps. was (Author: martinrue): I fixed this issue by modifying CDVSplashScreen.m, in the updateBounds method. The line: imgBounds.origin.y -= statusFrame.size.height; Should not execute when we're on iOS7, as the status frame doesn't count towards offsetting the content of the splash screen. I fixed it by adding the macros from http://stackoverflow.com/a/7848772/54144 and wrapping the line above like so: if (SYSTEM_VERSION_LESS_THAN(@"7.0")) { imgBounds.origin.y -= statusFrame.size.height; } Hope that helps. > iOS 7: splash screen has a white bar at the bottom of the device screen > ----------------------------------------------------------------------- > > Key: CB-4391 > URL: https://issues.apache.org/jira/browse/CB-4391 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 3.0.0 > Environment: xcode 5 preview > iOS 7 simulator/device > Reporter: lmnbeyond > Assignee: Shazron Abdullah > > Steps: > 1. Specify the value of "UIStatusBarHidden"(Info.plist) as false (make sure it's not fullscreen) > 2. Run the project on iOS 7 device(or simulator) and check the native splash screen > Result: > There is a white bar at the bottom of the device screen when native splash shows. -- 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