summaryrefslogtreecommitdiff
path: root/plugins/org.apache.cordova.splashscreen/doc/it/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.apache.cordova.splashscreen/doc/it/index.md')
-rw-r--r--plugins/org.apache.cordova.splashscreen/doc/it/index.md75
1 files changed, 75 insertions, 0 deletions
diff --git a/plugins/org.apache.cordova.splashscreen/doc/it/index.md b/plugins/org.apache.cordova.splashscreen/doc/it/index.md
new file mode 100644
index 00000000..2f6d2f1c
--- /dev/null
+++ b/plugins/org.apache.cordova.splashscreen/doc/it/index.md
@@ -0,0 +1,75 @@
+<!---
+ 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.
+-->
+
+# org.apache.cordova.splashscreen
+
+Questo plugin Visualizza e nasconde una schermata iniziale durante l'avvio dell'applicazione.
+
+## Installazione
+
+ cordova plugin add org.apache.cordova.splashscreen
+
+
+## Piattaforme supportate
+
+* Amazon fuoco OS
+* Android
+* BlackBerry 10
+* iOS
+* Windows Phone 7 e 8
+* Windows 8
+
+## Metodi
+
+* splashscreen
+* splashscreen.Hide
+
+### Stranezze Android
+
+Nel vostro config. xml, è necessario aggiungere le seguenti preferenze:
+
+`<preference name="SplashScreen" value="foo" />` `<preference name="SplashScreenDelay" value="10000" />`
+
+Dove foo è il nome del file splashscreen, preferibilmente un file 9 patch. Assicurati di aggiungere i tuoi file splashcreen res/xml nella directory sotto cartelle appropriate. Il secondo parametro rappresenta quanto tempo lo splashscreen apparirà in millisecondi. Il valore predefinito è 3000 ms. Per ulteriori informazioni, vedere [icone e schermate iniziali][1] .
+
+ [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html
+
+## splashscreen.Hide
+
+Respingere la schermata iniziale.
+
+ Navigator.SplashScreen.Hide();
+
+
+### BlackBerry 10, WP8, iOS Quirk
+
+Il `config.xml` di file `AutoHideSplashScreen` impostazione deve essere `false` . Per ritardare nascondendo la schermata iniziale per due secondi, aggiungere un timer ad esempio nel `deviceready` gestore di evento:
+
+ setTimeout(function() {navigator.splashscreen.hide();
+ }, 2000);
+
+
+## splashscreen
+
+Visualizza la schermata iniziale.
+
+ Navigator.SplashScreen.Show();
+
+
+L'applicazione non può chiamare `navigator.splashscreen.show()` fino a quando ha iniziato l'app e il `deviceready` ha generato l'evento. Ma poiché in genere la schermata iniziale è destinata ad essere visibile prima app ha iniziato, che sembrerebbe per sconfiggere lo scopo della schermata iniziale. Fornendo qualche configurazione in `config.xml` verrà automaticamente `show` la schermata iniziale subito dopo il lancio dell'app e prima che completamente ha iniziato e ha ricevuto il `deviceready` evento. Per ulteriori informazioni su facendo questa configurazione, vedere [icone e schermate iniziali][1] . Per questo motivo, è improbabile che dovete chiamare `navigator.splashscreen.show()` per rendere la schermata visibile per avvio di app. \ No newline at end of file