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 6E8481870C for ; Thu, 19 Nov 2015 05:27:00 +0000 (UTC) Received: (qmail 43161 invoked by uid 500); 19 Nov 2015 05:27:00 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 43066 invoked by uid 500); 19 Nov 2015 05:27:00 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 41771 invoked by uid 99); 19 Nov 2015 05:26:59 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2015 05:26:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 033CBDFF73; Thu, 19 Nov 2015 05:26:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: dblotsky@apache.org To: commits@cordova.apache.org Date: Thu, 19 Nov 2015 05:27:22 -0000 Message-Id: <184fe1e1dea14efebf93e5177da1b0d5@git.apache.org> In-Reply-To: <40e6990ff6234e50b63902481203e324@git.apache.org> References: <40e6990ff6234e50b63902481203e324@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [25/51] [partial] docs commit: CB-10029: rename edge to dev. This closes #426. http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f061b980/www/docs/en/dev/guide/platforms/ios/config.md ---------------------------------------------------------------------- diff --git a/www/docs/en/dev/guide/platforms/ios/config.md b/www/docs/en/dev/guide/platforms/ios/config.md new file mode 100644 index 0000000..d316d0d --- /dev/null +++ b/www/docs/en/dev/guide/platforms/ios/config.md @@ -0,0 +1,173 @@ +--- +license: > + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +title: iOS Configuration +--- + +# iOS Configuration + +The `config.xml` file controls an app's basic settings that apply +across each application and CordovaWebView instance. This section +details preferences that only apply to iOS builds. See [The config.xml +File](config_ref_index.md.html#The%20config.xml%20File) for information on global configuration options. + +- `EnableViewportScale` (boolean, defaults to `false`): Set to `true` + to allow a viewport meta tag to either disable or restrict the range + of user scaling, which is enabled by default. + + + + Place a viewport such as the following in the HTML to disable + scaling and fit content flexibly within the rendering WebView: + + + +- `MediaPlaybackAllowsAirPlay` (boolean, defaults to `true`): + Set to `false` to prevent Air Play from being used in this view. Available in default UIWebView and WKWebView. + + + +- `MediaPlaybackRequiresUserAction` (boolean, defaults to `false`): + Set to `true` to prevent HTML5 videos or audios from playing + automatically with the `autoplay` attribute or via JavaScript. + + + +- `AllowInlineMediaPlayback` (boolean, defaults to `false`): Set to + `true` to allow HTML5 media playback to appear _inline_ within the + screen layout, using browser-supplied controls rather than native + controls. For this to work, add the `webkit-playsinline` attribute + to any `