Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8AE0810C91 for ; Thu, 13 Mar 2014 23:14:43 +0000 (UTC) Received: (qmail 40818 invoked by uid 500); 13 Mar 2014 23:14:35 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 40433 invoked by uid 500); 13 Mar 2014 23:14:22 -0000 Mailing-List: contact commits-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 commits@cordova.apache.org Received: (qmail 40088 invoked by uid 99); 13 Mar 2014 23:14:16 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 23:14:16 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id BBD82980626; Thu, 13 Mar 2014 23:14:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shazron@apache.org To: commits@cordova.apache.org Date: Thu, 13 Mar 2014 23:14:36 -0000 Message-Id: <00d2afd743a24531a7c2e87ed315f838@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [23/35] git commit: Updated StatusBar docs for instructions on how to hide it at app startup. Updated StatusBar docs for instructions on how to hide it at app startup. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/commit/c94025e4 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/tree/c94025e4 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/diff/c94025e4 Branch: refs/heads/dev Commit: c94025e4dca8cf3a321d43c57bef276a1b7c7311 Parents: 378d688 Author: Shazron Abdullah Authored: Tue Feb 18 21:16:13 2014 -0800 Committer: Shazron Abdullah Committed: Tue Feb 18 21:16:13 2014 -0800 ---------------------------------------------------------------------- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/c94025e4/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 5cfb583..c97fe47 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,27 @@ Preferences #### config.xml -- __StatusBarOverlaysWebView__ (boolean, defaults to true). On iOS 7, make the statusbar overlay or not overlay the WebView. +- __StatusBarOverlaysWebView__ (boolean, defaults to true). On iOS 7, make the statusbar overlay or not overlay the WebView at startup. -- __StatusBarBackgroundColor__ (color hex string, defaults to #000000). On iOS 7, set the background color of the statusbar by a hex string (#RRGGBB). +- __StatusBarBackgroundColor__ (color hex string, defaults to #000000). On iOS 7, set the background color of the statusbar by a hex string (#RRGGBB) at startup. +Hiding at startup +----------- + +During runtime you can use the StatusBar.hide function below, but if you want the StatusBar to be hidden at app startup, you must modify your app's Info.plist file. + +Add/edit these two attributes if not present. Set **"Status bar is initially hidden"** to **"YES"** and set **"View controller-based status bar appearance"** to **"NO"**. If you edit it manually without Xcode, the keys and values are: + + + UIStatusBarHidden + + UIViewControllerBasedStatusBarAppearance + + Methods -------