> For the complete documentation index, see [llms.txt](https://ja.docs.monaca.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ja.docs.monaca.io/sampleapp/tips/splashscreen.md).

# スプラッシュ画像の制御方法

`index.html` ページの読み込み時に、スプラッシュ画像を表示します。スプラッシュ画像を消去する場合は、JavaScript コード ( `navigator.splashscreen.hide()` ) を使用するか、または、Monaca クラウド IDE のメニューで設定します。

Monaca クラウド IDE 上のメニューから、スプラッシュ画像を手動で消去する設定を、次に記します。

## Android 向けの設定

1. Monaca クラウド IDE メニュー上で、**`設定 → Android アプリ設定`**&#x3092;選択します。
2. スプラッシュファイルの設定箇所までスクロールします。スプラッシュ画像を非表示（無効）にするには、表示時間を"0"に設定します。
3. 設定を保存します。

![](/files/-MgKUcflAj5fWHxYZJMs)

## iOS 向けの設定

1. Monaca クラウド IDE メニュー上で、 **`設定 → iOS アプリ設定`**&#x3092;選択します。
2. \[ スプラッシュ画像 ] 項目まで移動します。スプラッシュ画像の消去方法は、2 通りあります ( \[ 自動的に閉じる ]、または、\[ JavaScript で閉じる ] )。\[ JavaScript で閉じる ] を選択した場合、`navigator.splashscreen.hide()` 関数を、JavaScript ファイル内で使用します。
3. 設定を保存します。

![](/files/-MgKUofDqN6MNju8sZBn)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ja.docs.monaca.io/sampleapp/tips/splashscreen.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
