標籤:des blog http io os ar java for 檔案
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
Cordova V3.0.0中config.xml設定檔的iOS Configuration