You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/04/05 03:15:11 UTC
ios commit: Fixed CB-445 - Update "How to use Cordova as Component"
Guide for 1.6.0
Updated Branches:
refs/heads/master c8421e6cc -> 23b3a2270
Fixed CB-445 - Update "How to use Cordova as Component" Guide for 1.6.0
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/23b3a227
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/23b3a227
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/23b3a227
Branch: refs/heads/master
Commit: 23b3a227033499555bc62bb0f83c3dd668bf1e03
Parents: c8421e6
Author: Shazron Abdullah <sh...@apache.org>
Authored: Wed Apr 4 18:15:03 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Wed Apr 4 18:15:03 2012 -0700
----------------------------------------------------------------------
guides/How to Use Cordova as a Component.md | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/23b3a227/guides/How to Use Cordova as a Component.md
----------------------------------------------------------------------
diff --git a/guides/How to Use Cordova as a Component.md b/guides/How to Use Cordova as a Component.md
index cb8087f..caab523 100644
--- a/guides/How to Use Cordova as a Component.md
+++ b/guides/How to Use Cordova as a Component.md
@@ -145,4 +145,13 @@ This file controls various settings of Cordova. This is application wide, and no
1. A list of **Plugins** allowed to be used in a CDVViewController (set in the Plugins dictionary - key is the servicename used in JavaScript, and the value is the Objective-C class for the plugin that is a CDVPlugin sub-class)
2. A **white-list** of hosts (with no scheme) that Cordova is allowed to connect to (set in the ExternalHosts array - wildcards allowed)
-3. Various **other** settings (TODO:)
+3. Various **other** settings
+ a. **UIWebViewBounce (boolean, defaults to YES)** - set to NO if you don't want the WebView to rubber-band
+ b. **TopActivityIndicator (string, defaults to 'gray')** - this is the top spinning throbber in the status/battery bar, valid values are "whiteLarge", "white" and "gray"
+ c. **EnableLocation (boolean, defaults to NO)** - set to YES, to initialize the Geolocation plugin at start-up (so the fix on your location can be more accurate)
+ d. **EnableViewportScale (boolean, defaults to NO)** - set to YES to prevent viewport scaling through a meta tag
+ e. **AutoHideSplashScreen (boolean, defaults to YES)** - set to NO to control when the splashscreen is hidden through a JavaScript API
+ f. **ShowSplashScreenSpinner (boolean, defaults to YES)** - set to NO to hide the splash-screen spinner
+ g. **MediaPlaybackRequiresUserAction (boolean, defaults to NO)** - set to YES to not allow autoplayed HTML5 video
+ h. **AllowInlineMediaPlayback (boolean, defaults to NO)** - set to YES to allow inline HTML5 media playback, also, the video element in the HTML document must also include the webkit-playsinline attribute
+ i. **OpenAllWhitelistURLsInWebView (boolean, defaults to NO)** - set to YES to open all white-listed URLs in the main WebView