Cordova V3.0.0中config.xml配置文件的iOS Configuration

http://www.cnblogs.com/lovecode/articles/3305655.html

<preference>

关于这个标签的可用设置有:

  • DisallowOverscroll 布尔值,默认false。如果不想要WebView出现橡皮筋滚动条,则设置为true
  • TopActivityIndicator   字符串值,默认gray。设置顶部状态栏的风格:whiteLarge, white, gray
  • EnableLocation  布尔值, 默认false。 设置为true,初始化gps定位插件。请设置Geolocation插件的onload属性为true。
  • EnableViewportScale  布尔值,默认false。设置为true,以防止通过meta标签来预设viewport缩放。
  • AutoHideSplashScreen  布尔值,默认true。设置为false,以控制启动画面由通过javascript API来隐藏。
  • FadeSplashScreen  布尔值,默认为true。设置为false,禁止启动画面淡入或淡出效果。
  • FadeSplashScreenDuration  浮点数,默认为2(秒)。启动画面淡入淡出时间。
  • ShowSplashScreenSpinner  布尔值,默认为true。设置为false,则隐藏splash-screen spinner。
  • MediaPlaybackRequiresUserAction  布尔值,默认为false。设置为true,则不允许HTML5 video自动播放。
  • AllowInlineMediaPlayback  布尔值,默认为false。 设置为true,则允许内联HTML5 media playback。即,在HTML文档的video元素也必须含有webkit-playsinline属性。
  • BackupWebStorage  字符串值,默认为cloud。有效的设置值有:none、local和cloud。
  • KeyboardDisplayRequiresUserAction  布尔值,默认为true。 设置为false以打开键盘,在通过Javascript focus()聚焦表单元素时。
  • SuppressesIncrementalRendering  布尔值, 默认为false。 设置为true,在被渲染之前一直等待,直到所有新视图内容已经接收到。
  • HideKeyboardFormAccessoryBar  布尔值,默认为false。 设置为true,隐藏键盘顶部的其他工具栏按钮,如Prev, Next, Done。
  • KeyboardShrinksView  布尔值,默认为false。 设置为true,则当键盘出现在上面时,收缩WebView。The WebView shrinks instead of the viewport shrinking and the page scrollable. This applies to apps that position their elements relative to the bottom of the WebView. This is the default behaviour on Android, and makes a lot of sense when building apps as opposed to webpages.
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值